/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20090521
 *
 * Disassembly of dsdt.dat, Thu Oct 14 16:33:13 2010
 *
 *
 * Original Table Header:
 *     Signature        "DSDT"
 *     Length           0x00007737 (30519)
 *     Revision         0x01 **** ACPI 1.0, no 64-bit math support
 *     Checksum         0xA5
 *     OEM ID           "AS146"
 *     OEM Table ID     "AS146012"
 *     OEM Revision     0x00000012 (18)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20051117 (537202967)
 */
DefinitionBlock ("dsdt.aml", "DSDT", 1, "AS146", "AS146012", 0x00000012)
{
    Name (OSTY, Ones)
    OperationRegion (ACMS, SystemIO, 0x72, 0x02)
    Field (ACMS, ByteAcc, NoLock, Preserve)
    {
        ICMS,   8, 
        DCMS,   8
    }

    IndexField (ICMS, DCMS, ByteAcc, NoLock, Preserve)
    {
                Offset (0x01), 
                Offset (0x04), 
                Offset (0x08), 
        BS_A,   32
    }

    OperationRegion (CFGS, SystemMemory, BS_A, 0x80)
    Field (CFGS, AnyAcc, NoLock, Preserve)
    {
                Offset (0x04), 
        PCIE,   32, 
                Offset (0x31), 
        TPMR,   1, 
        STHP,   1, 
        SHPG,   1, 
        OSCF,   1
    }

    OperationRegion (CMPT, SystemIO, 0x0C50, 0x03)
    Field (CMPT, ByteAcc, NoLock, Preserve)
    {
        CMID,   8, 
            ,   6, 
        GPCT,   2, 
        GP0I,   1, 
        GP1I,   1, 
        GP2I,   1, 
        GP3I,   1, 
        GP4I,   1, 
        GP5I,   1, 
        GP6I,   1, 
        GP7I,   1
    }

    OperationRegion (PCFG, SystemMemory, PCIE, 0x02000000)
    Field (PCFG, AnyAcc, NoLock, Preserve)
    {
                Offset (0x8800A), 
        STCL,   16, 
                Offset (0xA0004), 
        SMIE,   1, 
        SMME,   1, 
                Offset (0xA0008), 
        RVID,   8, 
                Offset (0xA0014), 
        SMB1,   32, 
                Offset (0xA0050), 
            ,   10, 
        GP51,   1, 
                Offset (0xA0056), 
            ,   11, 
        GP64,   1, 
                Offset (0xA0082), 
            ,   2, 
        G31O,   1, 
                Offset (0xA00E1), 
            ,   6, 
        ACIR,   1, 
                Offset (0xA4004), 
        PCMD,   2
    }

    OperationRegion (PMIO, SystemIO, 0x0CD6, 0x02)
    Field (PMIO, ByteAcc, NoLock, Preserve)
    {
        INPM,   8, 
        DAPM,   8
    }

    IndexField (INPM, DAPM, ByteAcc, NoLock, Preserve)
    {
            ,   1, 
        TM1E,   1, 
        TM2E,   1, 
                Offset (0x01), 
            ,   1, 
        TM1S,   1, 
        TM2S,   1, 
                Offset (0x04), 
            ,   7, 
        SLPS,   1, 
                Offset (0x07), 
            ,   7, 
        CLPS,   1, 
                Offset (0x0D), 
        EV0S,   1, 
        EV1S,   1, 
                Offset (0x10), 
            ,   6, 
        PWDE,   1, 
                Offset (0x1C), 
            ,   3, 
        MKME,   1, 
        PI3E,   1, 
        PI2E,   1, 
        PI1E,   1, 
        PI0E,   1, 
            ,   3, 
        MKMS,   1, 
        PI3S,   1, 
        PI2S,   1, 
        PI1S,   1, 
        PI0S,   1, 
                Offset (0x20), 
        P1EB,   16, 
                Offset (0x36), 
            ,   6, 
        GV6P,   1, 
        GV7P,   1, 
        EV0C,   1, 
        EV1C,   1, 
            ,   1, 
        GM0P,   1, 
        GM1P,   1, 
        GM2P,   1, 
        GM3P,   1, 
        GM8P,   1, 
            ,   1, 
        GM4P,   1, 
        GM5P,   1, 
            ,   1, 
        GM6P,   1, 
        GM7P,   1, 
                Offset (0x3B), 
        GPX0,   1, 
        GPX4,   1, 
        GPX5,   1, 
        GPX1,   1, 
        GPX6,   1, 
        GPX7,   1, 
        GPX2,   1, 
        GPX3,   1, 
                Offset (0x55), 
        SPRE,   1, 
            ,   1, 
            ,   1, 
        EPNM,   1, 
        DPPF,   1, 
        FNGS,   1, 
                Offset (0x61), 
            ,   7, 
        R617,   1, 
                Offset (0x65), 
            ,   4, 
        RSTU,   1, 
                Offset (0x68), 
            ,   3, 
        TPDE,   1, 
            ,   1, 
                Offset (0x7C), 
            ,   2, 
        BLNK,   2, 
                Offset (0x92), 
            ,   7, 
        GV7S,   1, 
                Offset (0x96), 
        GP8I,   1, 
        GP9I,   1, 
                Offset (0x9A), 
            ,   7, 
        HECO,   1, 
                Offset (0xA8), 
        PI4E,   1, 
        PI5E,   1, 
        PI6E,   1, 
        PI7E,   1, 
                Offset (0xA9), 
        PI4S,   1, 
        PI5S,   1, 
        PI6S,   1, 
        PI7S,   1
    }

    OperationRegion (P1E0, SystemIO, P1EB, 0x04)
    Field (P1E0, ByteAcc, NoLock, Preserve)
    {
            ,   14, 
        PEWS,   1, 
        WSTA,   1, 
            ,   14, 
        PEWD,   1
    }

    Method (SPTS, 1, NotSerialized)
    {
        If (LEqual (Arg0, 0x03))
        {
            Store (Zero, RSTU)
        }

        Store (One, CLPS)
        Store (One, SLPS)
        If (LLessEqual (RVID, 0x3A))
        {
            Store (Zero, PWDE)
        }
    }

    Method (SWAK, 1, NotSerialized)
    {
        Store (One, HECO)
        If (LEqual (Arg0, 0x03))
        {
            Store (One, RSTU)
        }

        Store (PEWS, PEWS)
    }

    Method (TRMD, 1, NotSerialized)
    {
        Store (Arg0, SPRE)
        Store (Arg0, TPDE)
    }

    Method (NPTS, 1, NotSerialized)
    {
    }

    Method (NWAK, 1, NotSerialized)
    {
    }

    Method (NB2S, 1, NotSerialized)
    {
    }

    Method (NB2W, 1, NotSerialized)
    {
    }

    Name (DP80, 0x80)
    Name (DP90, 0x90)
    Name (SPIO, 0x2E)
    Name (IOSB, Zero)
    Name (IOSL, 0x10)
    Name (IOHB, 0x0290)
    Name (IOHL, 0x10)
    Name (ATSW, 0xE5)
    Name (PMBS, 0x0800)
    Name (PMLN, 0xA0)
    Name (GPBS, Zero)
    Name (GPLN, Zero)
    Name (SMB0, 0x0B00)
    Name (SMBB, 0x0B20)
    Name (SMBM, 0x10)
    Name (SMBL, 0x20)
    Name (APIC, One)
    Name (SBA1, 0x0B00)
    Name (SBA2, 0x0B20)
    Name (SIOP, 0x2E)
    Name (AWAY, 0x01)
    Name (PCIB, 0xE0000000)
    Name (PCIL, 0x10000000)
    OperationRegion (BIOS, SystemMemory, 0x6FFC0064, 0xFF)
    Field (BIOS, ByteAcc, NoLock, Preserve)
    {
        SS1,    1, 
        SS2,    1, 
        SS3,    1, 
        SS4,    1, 
                Offset (0x01), 
        IOST,   16, 
        TOPM,   32, 
        ROMS,   32, 
        MG1B,   32, 
        MG1L,   32, 
        MG2B,   32, 
        MG2L,   32, 
                Offset (0x1C), 
        DMAX,   8, 
        HPTA,   32, 
        CPB0,   32, 
        CPB1,   32, 
        CPB2,   32, 
        CPB3,   32, 
        ASSB,   8, 
        AOTB,   8, 
        AAXB,   32, 
        SMIF,   8, 
        DTSE,   8, 
        DTS1,   8, 
        DTS2,   8, 
        MPEN,   8, 
        TPMF,   8, 
        MG3B,   32, 
        MG3L,   32, 
        MH1B,   32, 
        MH1L,   32
    }

    Method (RRIO, 4, NotSerialized)
    {
        Store ("RRIO", Debug)
    }

    Method (RDMA, 3, NotSerialized)
    {
        Store ("rDMA", Debug)
    }

    Name (PICM, Zero)
    Method (_PIC, 1, NotSerialized)
    {
        If (Arg0)
        {
            Store (0xAA, DBG8)
        }
        Else
        {
            Store (0xAC, DBG8)
        }

        Store (Arg0, PICM)
    }

    Name (OSVR, Ones)
    Method (OSFL, 0, NotSerialized)
    {
        If (LNotEqual (OSVR, Ones))
        {
            Return (OSVR)
        }

        If (LEqual (PICM, Zero))
        {
            Store (0xAC, DBG8)
        }

        Store (One, OSVR)
        If (CondRefOf (_OSI, Local1))
        {
            If (_OSI ("Windows 2000"))
            {
                Store (0x04, OSVR)
            }

            If (_OSI ("Windows 2001"))
            {
                Store (Zero, OSVR)
            }

            If (_OSI ("Windows 2001 SP1"))
            {
                Store (Zero, OSVR)
            }

            If (_OSI ("Windows 2001 SP2"))
            {
                Store (Zero, OSVR)
            }

            If (_OSI ("Windows 2001.1"))
            {
                Store (Zero, OSVR)
            }

            If (_OSI ("Windows 2001.1 SP1"))
            {
                Store (Zero, OSVR)
            }

            If (_OSI ("Windows 2006"))
            {
                Store (Zero, OSVR)
            }
        }
        Else
        {
            If (MCTH (_OS, "Microsoft Windows NT"))
            {
                Store (0x04, OSVR)
            }
            Else
            {
                If (MCTH (_OS, "Microsoft WindowsME: Millennium Edition"))
                {
                    Store (0x02, OSVR)
                }

                If (MCTH (_OS, "Linux"))
                {
                    Store (0x03, OSVR)
                }
            }
        }

        Return (OSVR)
    }

    Method (MCTH, 2, NotSerialized)
    {
        If (LLess (SizeOf (Arg0), SizeOf (Arg1)))
        {
            Return (Zero)
        }

        Add (SizeOf (Arg0), One, Local0)
        Name (BUF0, Buffer (Local0) {})
        Name (BUF1, Buffer (Local0) {})
        Store (Arg0, BUF0)
        Store (Arg1, BUF1)
        While (Local0)
        {
            Decrement (Local0)
            If (LNotEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index (
                BUF1, Local0))))
            {
                Return (Zero)
            }
        }

        Return (One)
    }

    Name (PRWP, Package (0x02)
    {
        Zero, 
        Zero
    })
    Method (GPRW, 2, NotSerialized)
    {
        Store (Arg0, Index (PRWP, Zero))
        Store (ShiftLeft (SS1, One), Local0)
        Or (Local0, ShiftLeft (SS2, 0x02), Local0)
        Or (Local0, ShiftLeft (SS3, 0x03), Local0)
        Or (Local0, ShiftLeft (SS4, 0x04), Local0)
        If (And (ShiftLeft (One, Arg1), Local0))
        {
            Store (Arg1, Index (PRWP, One))
        }
        Else
        {
            ShiftRight (Local0, One, Local0)
            If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
            {
                FindSetLeftBit (Local0, Index (PRWP, One))
            }
            Else
            {
                FindSetRightBit (Local0, Index (PRWP, One))
            }
        }

        Return (PRWP)
    }

    Name (WAKP, Package (0x02)
    {
        Zero, 
        Zero
    })
    OperationRegion (DEB0, SystemIO, DP80, One)
    Field (DEB0, ByteAcc, NoLock, Preserve)
    {
        DBG8,   8
    }

    OperationRegion (DEB1, SystemIO, DP90, 0x02)
    Field (DEB1, WordAcc, NoLock, Preserve)
    {
        DBG9,   16
    }

    Scope (_PR)
    {
        Processor (P001, 0x01, 0x00000810, 0x06) {}
        Processor (P002, 0x02, 0x00000000, 0x00) {}
        Processor (P003, 0x03, 0x00000000, 0x00) {}
        Processor (P004, 0x04, 0x00000000, 0x00) {}
        Alias (P001, CPU1)
        Alias (P002, CPU2)
        Alias (P003, CPU3)
        Alias (P004, CPU4)
    }

    Scope (_SB)
    {
        Name (PR00, Package (0x35)
        {
            Package (0x04)
            {
                0x0002FFFF, 
                Zero, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0002FFFF, 
                One, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0002FFFF, 
                0x02, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0002FFFF, 
                0x03, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0003FFFF, 
                Zero, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0003FFFF, 
                One, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0003FFFF, 
                0x02, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0003FFFF, 
                0x03, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0004FFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0004FFFF, 
                One, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0004FFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0004FFFF, 
                0x03, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                Zero, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                One, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x02, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x03, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                Zero, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                One, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                0x02, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                0x03, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0007FFFF, 
                Zero, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0007FFFF, 
                One, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0007FFFF, 
                0x02, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0007FFFF, 
                0x03, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x000AFFFF, 
                Zero, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x000AFFFF, 
                One, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x000AFFFF, 
                0x02, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x000AFFFF, 
                0x03, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x000BFFFF, 
                Zero, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x000BFFFF, 
                One, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x000BFFFF, 
                0x02, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x000BFFFF, 
                0x03, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x000CFFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x000CFFFF, 
                One, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x000CFFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x000CFFFF, 
                0x03, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0014FFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0014FFFF, 
                One, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0014FFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0014FFFF, 
                0x03, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0012FFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0012FFFF, 
                One, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0012FFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0012FFFF, 
                0x03, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0013FFFF, 
                Zero, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0013FFFF, 
                One, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0013FFFF, 
                0x02, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0013FFFF, 
                0x03, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0011FFFF, 
                Zero, 
                LNKG, 
                Zero
            }, 

            Package (0x04)
            {
                0x0009FFFF, 
                Zero, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0x0009FFFF, 
                One, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0009FFFF, 
                0x02, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0009FFFF, 
                0x03, 
                LNKA, 
                Zero
            }
        })
        Name (AR00, Package (0x35)
        {
            Package (0x04)
            {
                0x0002FFFF, 
                Zero, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0002FFFF, 
                One, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0002FFFF, 
                0x02, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0002FFFF, 
                0x03, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0003FFFF, 
                Zero, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0003FFFF, 
                One, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0003FFFF, 
                0x02, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0003FFFF, 
                0x03, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0004FFFF, 
                Zero, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0004FFFF, 
                One, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0004FFFF, 
                0x02, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0004FFFF, 
                0x03, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                Zero, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                One, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x02, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x03, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                Zero, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                One, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                0x02, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                0x03, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0007FFFF, 
                Zero, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0007FFFF, 
                One, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0007FFFF, 
                0x02, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0007FFFF, 
                0x03, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x000AFFFF, 
                Zero, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x000AFFFF, 
                One, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x000AFFFF, 
                0x02, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x000AFFFF, 
                0x03, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x000BFFFF, 
                Zero, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x000BFFFF, 
                One, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x000BFFFF, 
                0x02, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x000BFFFF, 
                0x03, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x000CFFFF, 
                Zero, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x000CFFFF, 
                One, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x000CFFFF, 
                0x02, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x000CFFFF, 
                0x03, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0014FFFF, 
                Zero, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0014FFFF, 
                One, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0014FFFF, 
                0x02, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0014FFFF, 
                0x03, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0012FFFF, 
                Zero, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0012FFFF, 
                One, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0012FFFF, 
                0x02, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0012FFFF, 
                0x03, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0013FFFF, 
                Zero, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0013FFFF, 
                One, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0013FFFF, 
                0x02, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0013FFFF, 
                0x03, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0011FFFF, 
                Zero, 
                Zero, 
                0x16
            }, 

            Package (0x04)
            {
                0x0009FFFF, 
                Zero, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0x0009FFFF, 
                One, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0009FFFF, 
                0x02, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0009FFFF, 
                0x03, 
                Zero, 
                0x10
            }
        })
        Name (PR01, Package (0x04)
        {
            Package (0x04)
            {
                0x0005FFFF, 
                Zero, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                One, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x02, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x03, 
                LNKB, 
                Zero
            }
        })
        Name (AR01, Package (0x04)
        {
            Package (0x04)
            {
                0x0005FFFF, 
                Zero, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                One, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x02, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x03, 
                Zero, 
                0x11
            }
        })
        Name (PR02, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKB, 
                Zero
            }
        })
        Name (AR02, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x11
            }
        })
        Name (PR03, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKC, 
                Zero
            }
        })
        Name (AR03, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x12
            }
        })
        Name (PR09, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKB, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKA, 
                Zero
            }
        })
        Name (AR09, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x11
            }, 

            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x10
            }
        })
        Name (PR1A, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKC, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKD, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKA, 
                Zero
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKB, 
                Zero
            }
        })
        Name (AR1A, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x12
            }, 

            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x13
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x10
            }, 

            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x11
            }
        })
        Name (PR0C, Package (0x08)
        {
            Package (0x04)
            {
                0x0005FFFF, 
                Zero, 
                LNKE, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                One, 
                LNKF, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x02, 
                LNKG, 
                Zero
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x03, 
                LNKH, 
                Zero
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                Zero, 
                LNKF, 
                Zero
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                One, 
                LNKG, 
                Zero
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                0x02, 
                LNKH, 
                Zero
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                0x03, 
                LNKE, 
                Zero
            }
        })
        Name (AR0C, Package (0x08)
        {
            Package (0x04)
            {
                0x0005FFFF, 
                Zero, 
                Zero, 
                0x14
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                One, 
                Zero, 
                0x15
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x02, 
                Zero, 
                0x16
            }, 

            Package (0x04)
            {
                0x0005FFFF, 
                0x03, 
                Zero, 
                0x17
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                Zero, 
                Zero, 
                0x15
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                One, 
                Zero, 
                0x16
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                0x02, 
                Zero, 
                0x17
            }, 

            Package (0x04)
            {
                0x0006FFFF, 
                0x03, 
                Zero, 
                0x14
            }
        })
        Name (PRSA, ResourceTemplate ()
        {
            IRQ (Level, ActiveLow, Shared, )
                {4,7,10,11,12,14,15}
        })
        Alias (PRSA, PRSB)
        Alias (PRSA, PRSC)
        Alias (PRSA, PRSD)
        Alias (PRSA, PRSE)
        Alias (PRSA, PRSF)
        Name (PRSG, ResourceTemplate ()
        {
            IRQ (Level, ActiveLow, Shared, )
                {4,10,11,12,14,15}
        })
        Alias (PRSA, PRSH)
        Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A03"))
            Name (_ADR, 0x00180000)
            Method (^BN00, 0, NotSerialized)
            {
                Return (Zero)
            }

            Method (_BBN, 0, NotSerialized)
            {
                Return (BN00 ())
            }

            Name (_UID, Zero)
            Method (_PRT, 0, NotSerialized)
            {
                If (PICM)
                {
                    Return (AR00)
                }

                Return (PR00)
            }

            Method (NPTS, 1, NotSerialized)
            {
            }

            Method (NWAK, 1, NotSerialized)
            {
            }

            Device (RS78)
            {
                Name (_ADR, Zero)
                OperationRegion (NB2, PCI_Config, Zero, 0x0100)
                Field (NB2, AnyAcc, NoLock, Preserve)
                {
                            Offset (0x60), 
                    MI,     32, 
                    MD,     32, 
                            Offset (0x94), 
                    HI,     32, 
                    HD,     32, 
                            Offset (0xE8), 
                    MCI,    32, 
                    MCD,    32
                }

                Device (BROD)
                {
                    Name (_HID, EisaId ("PNP0C02"))
                    Name (_UID, 0x14)
                    Name (CRS, ResourceTemplate ()
                    {
                        Memory32Fixed (ReadOnly,
                            0x00000000,         // Address Base
                            0x00000000,         // Address Length
                            _Y00)
                        Memory32Fixed (ReadOnly,
                            0x00000000,         // Address Base
                            0x00000000,         // Address Length
                            _Y01)
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateDWordField (CRS, \_SB.PCI0.RS78.BROD._Y00._BAS, BAS1)
                        CreateDWordField (CRS, \_SB.PCI0.RS78.BROD._Y00._LEN, LEN1)
                        CreateDWordField (CRS, \_SB.PCI0.RS78.BROD._Y01._BAS, BAS2)
                        CreateDWordField (CRS, \_SB.PCI0.RS78.BROD._Y01._LEN, LEN2)
                        Store (0x3C, MI)
                        Store (MD, Local0)
                        If (And (Local0, 0x40))
                        {
                            Store (0x3A, MI)
                            And (MD, 0xFFFFFF00, BAS1)
                            ShiftLeft (And (MD, 0xFF), 0x17, LEN1)
                        }

                        Store (0x11, MCI)
                        Store (MCD, Local1)
                        Store (0x12, MCI)
                        Store (MCD, Local2)
                        Store (0xF0, MCI)
                        Store (MCD, Local3)
                        If (LEqual (Local2, Zero))
                        {
                            If (LNotEqual (Local3, Zero))
                            {
                                Store (Local1, BAS2)
                                Store (ShiftLeft (Local3, 0x14), LEN2)
                            }
                        }

                        Return (CRS)
                    }
                }
            }

            Device (P0P1)
            {
                Name (_ADR, 0x00010000)
                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR01)
                    }

                    Return (PR01)
                }

                Device (IGFX)
                {
                    Name (_ADR, 0x00050000)
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }

                    OperationRegion (GPXX, SystemMemory, 0x000EFB07, 0x0100)
                    Field (GPXX, AnyAcc, NoLock, Preserve)
                    {
                        GPCM,   8, 
                        GPDT,   2040
                    }

                    Name (ATIB, Buffer (0xFF) {})
                    OperationRegion (SM00, SystemIO, 0xB0, One)
                    Field (SM00, ByteAcc, NoLock, Preserve)
                    {
                        SMCM,   8
                    }

                    Method (ATIF, 2, Serialized)
                    {
                        Name (SUPF, Zero)
                        Or (SUPF, 0x2000, SUPF)
                        If (LEqual (Arg0, 0x0E))
                        {
                            Return (AF0E (Arg1))
                        }

                        If (LEqual (Arg0, Zero))
                        {
                            Return (AF00 (SUPF))
                        }

                        CreateWordField (ATIB, Zero, SSZE)
                        CreateWordField (ATIB, 0x02, VERN)
                        CreateDWordField (ATIB, 0x04, NMSK)
                        CreateDWordField (ATIB, 0x08, SFUN)
                        Store (Zero, SSZE)
                        Store (Zero, VERN)
                        Store (Zero, NMSK)
                        Store (Zero, SFUN)
                        Return (ATIB)
                    }

                    Method (AF00, 1, Serialized)
                    {
                        CreateWordField (ATIB, Zero, SSZE)
                        CreateWordField (ATIB, 0x02, VERN)
                        CreateDWordField (ATIB, 0x04, NMSK)
                        CreateDWordField (ATIB, 0x08, SFUN)
                        Store (0x0C, SSZE)
                        Store (One, VERN)
                        Store (Zero, NMSK)
                        Store (Arg0, SFUN)
                        Return (ATIB)
                    }

                    Method (AF0E, 1, NotSerialized)
                    {
                        OperationRegion (^GF00, PCI_Config, Zero, 0x40)
                        Field (GF00, AnyAcc, NoLock, Preserve)
                        {
                                    Offset (0x18), 
                            MMAR,   32
                        }

                        OperationRegion (GF02, SystemMemory, MMAR, 0x7000)
                        Field (GF02, DWordAcc, NoLock, Preserve)
                        {
                                    Offset (0x6080), 
                            D1ME,   1, 
                                    Offset (0x609C), 
                            D1VB,   1
                        }

                        Store (Arg0, GPDT)
                        Store (0x0E, GPCM)
                        If (LEqual (D1ME, One))
                        {
                            While (LNotEqual (D1VB, Zero)) {}
                            While (LNotEqual (D1VB, One)) {}
                        }

                        Store (0xE5, SMCM)
                        Return (Zero)
                    }
                }
            }

            Device (PCE2)
            {
                Name (_ADR, 0x00020000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }

                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR02)
                    }

                    Return (PR02)
                }
            }

            Device (PCE3)
            {
                Name (_ADR, 0x00030000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }

                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR03)
                    }

                    Return (PR03)
                }
            }

            Device (PCE4)
            {
                Name (_ADR, 0x00040000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }
            }

            Device (PCE5)
            {
                Name (_ADR, 0x00050000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }
            }

            Device (PCE6)
            {
                Name (_ADR, 0x00060000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }
            }

            Device (PCE7)
            {
                Name (_ADR, 0x00070000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }
            }

            Device (PCEA)
            {
                Name (_ADR, 0x000A0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }

                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR1A)
                    }

                    Return (PR1A)
                }
            }

            Device (PCEB)
            {
                Name (_ADR, 0x000B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }
            }

            Device (PCEC)
            {
                Name (_ADR, 0x000C0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }
            }

            Device (IDEC)
            {
                Name (_ADR, 0x00140001)
                Name (UDMT, Package (0x08)
                {
                    0x78, 
                    0x5A, 
                    0x3C, 
                    0x2D, 
                    0x1E, 
                    0x14, 
                    0x0F, 
                    Zero
                })
                Name (PIOT, Package (0x06)
                {
                    0x0258, 
                    0x0186, 
                    0x010E, 
                    0xB4, 
                    0x78, 
                    Zero
                })
                Name (PITR, Package (0x06)
                {
                    0x99, 
                    0x47, 
                    0x34, 
                    0x22, 
                    0x20, 
                    0x99
                })
                Name (MDMT, Package (0x04)
                {
                    0x01E0, 
                    0x96, 
                    0x78, 
                    Zero
                })
                Name (MDTR, Package (0x04)
                {
                    0x77, 
                    0x21, 
                    0x20, 
                    0xFF
                })
                OperationRegion (IDE, PCI_Config, 0x40, 0x20)
                Field (IDE, AnyAcc, NoLock, Preserve)
                {
                    PPIT,   16, 
                    SPIT,   16, 
                    PMDT,   16, 
                    SMDT,   16, 
                    PPIC,   8, 
                    SPIC,   8, 
                    PPIM,   8, 
                    SPIM,   8, 
                            Offset (0x14), 
                    PUDC,   2, 
                    SUDC,   2, 
                            Offset (0x16), 
                    PUDM,   8, 
                    SUDM,   8
                }

                Method (GETT, 1, NotSerialized)
                {
                    Store (And (Arg0, 0x0F), Local0)
                    Store (ShiftRight (Arg0, 0x04), Local1)
                    Return (Multiply (0x1E, Add (Add (Local0, One), Add (Local1, 
                        One))))
                }

                Method (GTM, 1, NotSerialized)
                {
                    CreateByteField (Arg0, Zero, PIT1)
                    CreateByteField (Arg0, One, PIT0)
                    CreateByteField (Arg0, 0x02, MDT1)
                    CreateByteField (Arg0, 0x03, MDT0)
                    CreateByteField (Arg0, 0x04, PICX)
                    CreateByteField (Arg0, 0x05, UDCX)
                    CreateByteField (Arg0, 0x06, UDMX)
                    Name (BUF, Buffer (0x14)
                    {
                        /* 0000 */    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 
                        /* 0008 */    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 
                        /* 0010 */    0x00, 0x00, 0x00, 0x00
                    })
                    CreateDWordField (BUF, Zero, PIO0)
                    CreateDWordField (BUF, 0x04, DMA0)
                    CreateDWordField (BUF, 0x08, PIO1)
                    CreateDWordField (BUF, 0x0C, DMA1)
                    CreateDWordField (BUF, 0x10, FLAG)
                    If (And (PICX, One))
                    {
                        Return (BUF)
                    }

                    Store (GETT (PIT0), PIO0)
                    Store (GETT (PIT1), PIO1)
                    If (And (UDCX, One))
                    {
                        Or (FLAG, One, FLAG)
                        Store (DerefOf (Index (UDMT, And (UDMX, 0x0F))), DMA0)
                    }
                    Else
                    {
                        Store (GETT (MDT0), DMA0)
                    }

                    If (And (UDCX, 0x02))
                    {
                        Or (FLAG, 0x04, FLAG)
                        Store (DerefOf (Index (UDMT, ShiftRight (UDMX, 0x04))), DMA1)
                    }
                    Else
                    {
                        Store (GETT (MDT1), DMA1)
                    }

                    Or (FLAG, 0x1A, FLAG)
                    Return (BUF)
                }

                Method (STM, 3, NotSerialized)
                {
                    CreateDWordField (Arg0, Zero, PIO0)
                    CreateDWordField (Arg0, 0x04, DMA0)
                    CreateDWordField (Arg0, 0x08, PIO1)
                    CreateDWordField (Arg0, 0x0C, DMA1)
                    CreateDWordField (Arg0, 0x10, FLAG)
                    Name (BUF, Buffer (0x07)
                    {
                        0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
                    })
                    CreateByteField (BUF, Zero, PIT1)
                    CreateByteField (BUF, One, PIT0)
                    CreateByteField (BUF, 0x02, MDT1)
                    CreateByteField (BUF, 0x03, MDT0)
                    CreateByteField (BUF, 0x04, PIMX)
                    CreateByteField (BUF, 0x05, UDCX)
                    CreateByteField (BUF, 0x06, UDMX)
                    Store (Match (PIOT, MLE, PIO0, MTR, Zero, Zero), Local0)
                    Divide (Local0, 0x05, Local0)
                    Store (Match (PIOT, MLE, PIO1, MTR, Zero, Zero), Local1)
                    Divide (Local1, 0x05, Local1)
                    Store (Or (ShiftLeft (Local1, 0x04), Local0), PIMX)
                    Store (DerefOf (Index (PITR, Local0)), PIT0)
                    Store (DerefOf (Index (PITR, Local1)), PIT1)
                    If (And (FLAG, One))
                    {
                        Store (Match (UDMT, MLE, DMA0, MTR, Zero, Zero), Local0)
                        Divide (Local0, 0x07, Local0)
                        Or (UDMX, Local0, UDMX)
                        Or (UDCX, One, UDCX)
                    }
                    Else
                    {
                        If (LNotEqual (DMA0, Ones))
                        {
                            Store (Match (MDMT, MLE, DMA0, MTR, Zero, Zero), Local0)
                            Store (DerefOf (Index (MDTR, Local0)), MDT0)
                        }
                    }

                    If (And (FLAG, 0x04))
                    {
                        Store (Match (UDMT, MLE, DMA1, MTR, Zero, Zero), Local0)
                        Divide (Local0, 0x07, Local0)
                        Or (UDMX, ShiftLeft (Local0, 0x04), UDMX)
                        Or (UDCX, 0x02, UDCX)
                    }
                    Else
                    {
                        If (LNotEqual (DMA1, Ones))
                        {
                            Store (Match (MDMT, MLE, DMA1, MTR, Zero, Zero), Local0)
                            Store (DerefOf (Index (MDTR, Local0)), MDT1)
                        }
                    }

                    Return (BUF)
                }

                Method (GTF, 2, NotSerialized)
                {
                    CreateByteField (Arg1, Zero, MDT1)
                    CreateByteField (Arg1, One, MDT0)
                    CreateByteField (Arg1, 0x02, PIMX)
                    CreateByteField (Arg1, 0x03, UDCX)
                    CreateByteField (Arg1, 0x04, UDMX)
                    If (LEqual (Arg0, 0xA0))
                    {
                        Store (And (PIMX, 0x0F), Local0)
                        Store (MDT0, Local1)
                        And (UDCX, One, Local2)
                        Store (And (UDMX, 0x0F), Local3)
                    }
                    Else
                    {
                        Store (ShiftRight (PIMX, 0x04), Local0)
                        Store (MDT1, Local1)
                        And (UDCX, 0x02, Local2)
                        Store (ShiftRight (UDMX, 0x04), Local3)
                    }

                    Name (BUF, Buffer (0x15)
                    {
                        /* 0000 */    0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x03, 
                        /* 0008 */    0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x00, 0x00, 
                        /* 0010 */    0x00, 0x00, 0x00, 0x00, 0xF5
                    })
                    CreateByteField (BUF, One, PMOD)
                    CreateByteField (BUF, 0x08, DMOD)
                    CreateByteField (BUF, 0x05, CMDA)
                    CreateByteField (BUF, 0x0C, CMDB)
                    CreateByteField (BUF, 0x13, CMDC)
                    Store (Arg0, CMDA)
                    Store (Arg0, CMDB)
                    Store (Arg0, CMDC)
                    Or (Local0, 0x08, PMOD)
                    If (Local2)
                    {
                        Or (Local3, 0x40, DMOD)
                    }
                    Else
                    {
                        Store (Match (MDMT, MLE, GETT (Local1), MTR, Zero, Zero), Local4)
                        If (LLess (Local4, 0x03))
                        {
                            Or (0x20, Local4, DMOD)
                        }
                    }

                    Return (BUF)
                }

                Device (PRID)
                {
                    Name (_ADR, Zero)
                    Method (_GTM, 0, NotSerialized)
                    {
                        Name (BUF, Buffer (0x07)
                        {
                            0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
                        })
                        CreateWordField (BUF, Zero, VPIT)
                        CreateWordField (BUF, 0x02, VMDT)
                        CreateByteField (BUF, 0x04, VPIC)
                        CreateByteField (BUF, 0x05, VUDC)
                        CreateByteField (BUF, 0x06, VUDM)
                        If (LOr (LGreaterEqual (^^^SMBS.REV, 0x3A), ^^^SMBS.SOPT))
                        {
                            Store (PPIT, VPIT)
                            Store (PMDT, VMDT)
                            Store (PPIC, VPIC)
                            Store (PUDC, VUDC)
                            Store (PUDM, VUDM)
                        }
                        Else
                        {
                            Store (SPIT, VPIT)
                            Store (SMDT, VMDT)
                            Store (SPIC, VPIC)
                            Store (SUDC, VUDC)
                            Store (SUDM, VUDM)
                        }

                        Return (GTM (BUF))
                    }

                    Method (_STM, 3, NotSerialized)
                    {
                        Name (BUF, Buffer (0x07)
                        {
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                        })
                        CreateWordField (BUF, Zero, VPIT)
                        CreateWordField (BUF, 0x02, VMDT)
                        CreateByteField (BUF, 0x04, VPIM)
                        CreateByteField (BUF, 0x05, VUDC)
                        CreateByteField (BUF, 0x06, VUDM)
                        Store (STM (Arg0, Arg1, Arg2), BUF)
                        If (LOr (LGreaterEqual (^^^SMBS.REV, 0x3A), ^^^SMBS.SOPT))
                        {
                            Store (VPIT, PPIT)
                            Store (VMDT, PMDT)
                            Store (VPIM, PPIM)
                            Store (VUDC, PUDC)
                            Store (VUDM, PUDM)
                        }
                        Else
                        {
                            Store (VPIT, SPIT)
                            Store (VMDT, SMDT)
                            Store (VPIM, SPIM)
                            Store (VUDC, SUDC)
                            Store (VUDM, SUDM)
                        }
                    }

                    Device (P_D0)
                    {
                        Name (_ADR, Zero)
                        Method (_GTF, 0, NotSerialized)
                        {
                            Name (BUF, Buffer (0x05)
                            {
                                0x00, 0x00, 0x00, 0x00, 0x00
                            })
                            CreateWordField (BUF, Zero, VMDT)
                            CreateByteField (BUF, 0x02, VPIM)
                            CreateByteField (BUF, 0x03, VUDC)
                            CreateByteField (BUF, 0x04, VUDM)
                            If (LOr (LGreaterEqual (^^^^SMBS.REV, 0x3A), ^^^^SMBS.SOPT))
                            {
                                Store (PMDT, VMDT)
                                Store (PPIM, VPIM)
                                Store (PUDC, VUDC)
                                Store (PUDM, VUDM)
                            }
                            Else
                            {
                                Store (SMDT, VMDT)
                                Store (SPIM, VPIM)
                                Store (SUDC, VUDC)
                                Store (SUDM, VUDM)
                            }

                            Return (GTF (0xA0, BUF))
                        }
                    }

                    Device (P_D1)
                    {
                        Name (_ADR, One)
                        Method (_GTF, 0, NotSerialized)
                        {
                            Name (BUF, Buffer (0x05)
                            {
                                0x00, 0x00, 0x00, 0x00, 0x00
                            })
                            CreateWordField (BUF, Zero, VMDT)
                            CreateByteField (BUF, 0x02, VPIM)
                            CreateByteField (BUF, 0x03, VUDC)
                            CreateByteField (BUF, 0x04, VUDM)
                            If (LOr (LGreaterEqual (^^^^SMBS.REV, 0x3A), ^^^^SMBS.SOPT))
                            {
                                Store (PMDT, VMDT)
                                Store (PPIM, VPIM)
                                Store (PUDC, VUDC)
                                Store (PUDM, VUDM)
                            }
                            Else
                            {
                                Store (SMDT, VMDT)
                                Store (SPIM, VPIM)
                                Store (SUDC, VUDC)
                                Store (SUDM, VUDM)
                            }

                            Return (GTF (0xB0, BUF))
                        }
                    }
                }

                Device (SECD)
                {
                    Name (_ADR, One)
                    Method (_GTM, 0, NotSerialized)
                    {
                        Name (BUF, Buffer (0x07)
                        {
                            0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
                        })
                        CreateWordField (BUF, Zero, VPIT)
                        CreateWordField (BUF, 0x02, VMDT)
                        CreateByteField (BUF, 0x04, VPIC)
                        CreateByteField (BUF, 0x05, VUDC)
                        CreateByteField (BUF, 0x06, VUDM)
                        If (LOr (LGreaterEqual (^^^SMBS.REV, 0x3A), ^^^SMBS.SOPT))
                        {
                            Store (SPIT, VPIT)
                            Store (SMDT, VMDT)
                            Store (SPIC, VPIC)
                            Store (SUDC, VUDC)
                            Store (SUDM, VUDM)
                        }
                        Else
                        {
                            Store (PPIT, VPIT)
                            Store (PMDT, VMDT)
                            Store (PPIC, VPIC)
                            Store (PUDC, VUDC)
                            Store (PUDM, VUDM)
                        }

                        Return (GTM (BUF))
                    }

                    Method (_STM, 3, NotSerialized)
                    {
                        Name (BUF, Buffer (0x07)
                        {
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                        })
                        CreateWordField (BUF, Zero, VPIT)
                        CreateWordField (BUF, 0x02, VMDT)
                        CreateByteField (BUF, 0x04, VPIM)
                        CreateByteField (BUF, 0x05, VUDC)
                        CreateByteField (BUF, 0x06, VUDM)
                        Store (STM (Arg0, Arg1, Arg2), BUF)
                        If (LOr (LGreaterEqual (^^^SMBS.REV, 0x3A), ^^^SMBS.SOPT))
                        {
                            Store (VPIT, SPIT)
                            Store (VMDT, SMDT)
                            Store (VPIM, SPIM)
                            Store (VUDC, SUDC)
                            Store (VUDM, SUDM)
                        }
                        Else
                        {
                            Store (VPIT, PPIT)
                            Store (VMDT, PMDT)
                            Store (VPIM, PPIM)
                            Store (VUDC, PUDC)
                            Store (VUDM, PUDM)
                        }
                    }

                    Device (S_D0)
                    {
                        Name (_ADR, Zero)
                        Method (_GTF, 0, NotSerialized)
                        {
                            Name (BUF, Buffer (0x05)
                            {
                                0x00, 0x00, 0x00, 0x00, 0x00
                            })
                            CreateWordField (BUF, Zero, VMDT)
                            CreateByteField (BUF, 0x02, VPIM)
                            CreateByteField (BUF, 0x03, VUDC)
                            CreateByteField (BUF, 0x04, VUDM)
                            If (LOr (LGreaterEqual (^^^^SMBS.REV, 0x3A), ^^^^SMBS.SOPT))
                            {
                                Store (SMDT, VMDT)
                                Store (SPIM, VPIM)
                                Store (SUDC, VUDC)
                                Store (SUDM, VUDM)
                            }
                            Else
                            {
                                Store (PMDT, VMDT)
                                Store (PPIM, VPIM)
                                Store (PUDC, VUDC)
                                Store (PUDM, VUDM)
                            }

                            Return (GTF (0xA0, BUF))
                        }
                    }

                    Device (S_D1)
                    {
                        Name (_ADR, One)
                        Method (_GTF, 0, NotSerialized)
                        {
                            Name (BUF, Buffer (0x05)
                            {
                                0x00, 0x00, 0x00, 0x00, 0x00
                            })
                            CreateWordField (BUF, Zero, VMDT)
                            CreateByteField (BUF, 0x02, VPIM)
                            CreateByteField (BUF, 0x03, VUDC)
                            CreateByteField (BUF, 0x04, VUDM)
                            If (LOr (LGreaterEqual (^^^^SMBS.REV, 0x3A), ^^^^SMBS.SOPT))
                            {
                                Store (SMDT, VMDT)
                                Store (SPIM, VPIM)
                                Store (SUDC, VUDC)
                                Store (SUDM, VUDM)
                            }
                            Else
                            {
                                Store (PMDT, VMDT)
                                Store (PPIM, VPIM)
                                Store (PUDC, VUDC)
                                Store (PUDM, VUDM)
                            }

                            Return (GTF (0xB0, BUF))
                        }
                    }
                }
            }

            Device (SBAZ)
            {
                Name (_ADR, 0x00140002)
                OperationRegion (PCI, PCI_Config, Zero, 0x0100)
                Field (PCI, AnyAcc, NoLock, Preserve)
                {
                            Offset (0x42), 
                    DNSP,   1, 
                    DNSO,   1, 
                    ENSR,   1
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x1B, 0x04))
                }
            }

            Device (SBRG)
            {
                Name (_ADR, 0x00140003)
                OperationRegion (LPCS, PCI_Config, Zero, 0x0100)
                Field (LPCS, AnyAcc, NoLock, Preserve)
                {
                            Offset (0x40), 
                        ,   7, 
                    ECEN,   1, 
                            Offset (0xA4), 
                    ECAD,   16
                }

                Name (ECIN, Zero)
                Mutex (ECMU, 0x00)
                Mutex (MLMU, 0x00)
                If (ECEN)
                {
                    And (ECAD, 0xFFFE, ECIN)
                    OperationRegion (ECBP, SystemIO, ECIN, 0x02)
                    Field (ECBP, ByteAcc, NoLock, Preserve)
                    {
                        BPIO,   8
                    }

                    OperationRegion (ECIO, SystemIO, ECIN, 0x02)
                    Field (ECIO, ByteAcc, NoLock, Preserve)
                    {
                        IND,    8, 
                        DAT,    8
                    }

                    IndexField (IND, DAT, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0x07), 
                        LDNM,   8, 
                                Offset (0x22), 
                        POW,    8, 
                                Offset (0x30), 
                        ACT,    1, 
                                Offset (0x60), 
                        IOBH,   8, 
                        IOBL,   8, 
                                Offset (0x70), 
                        INT,    4
                    }

                    Method (CFG, 1, NotSerialized)
                    {
                        Store (0x5A, BPIO)
                        Store (0x5A, BPIO)
                        Store (Arg0, LDNM)
                    }

                    Method (XCFG, 0, NotSerialized)
                    {
                        Store (0xA5, BPIO)
                    }

                    Method (STA, 1, NotSerialized)
                    {
                        Acquire (ECMU, 0x5000)
                        CFG (Arg0)
                        Store (Zero, Local1)
                        If (ACT)
                        {
                            Store (0x0F, Local1)
                        }

                        If (LEqual (IND, 0xFF))
                        {
                            Store (Zero, Local1)
                        }

                        XCFG ()
                        Release (ECMU)
                        Return (Local1)
                    }

                    Method (RDMB, 1, NotSerialized)
                    {
                        Acquire (ECMU, 0x1388)
                        Acquire (MLMU, 0x1388)
                        CFG (0x05)
                        Name (IOBA, Zero)
                        Store (IOBH, IOBA)
                        ShiftLeft (IOBA, 0x08, IOBA)
                        Or (IOBA, IOBL, IOBA)
                        OperationRegion (MLIO, SystemIO, IOBA, 0x02)
                        Field (MLIO, ByteAcc, NoLock, Preserve)
                        {
                            MLIN,   8, 
                            MLDA,   8
                        }

                        Store (Arg0, MLIN)
                        Return (MLDA)
                        Release (MLMU)
                        Release (ECMU)
                    }

                    Method (WRMB, 2, NotSerialized)
                    {
                        Acquire (ECMU, 0x1388)
                        Acquire (MLMU, 0x1388)
                        CFG (0x05)
                        Name (IOBA, Zero)
                        Store (IOBH, IOBA)
                        ShiftLeft (IOBA, 0x08, IOBA)
                        Or (IOBA, IOBL, IOBA)
                        OperationRegion (MLIO, SystemIO, IOBA, 0x02)
                        Field (MLIO, ByteAcc, NoLock, Preserve)
                        {
                            MLIN,   8, 
                            MLDA,   8
                        }

                        Store (Arg0, MLIN)
                        Store (Arg1, MLDA)
                        Release (MLMU)
                        Release (ECMU)
                    }

                    Name (KBWF, One)
                    Name (MSWF, One)
                    Name (IRWF, One)
                    Device (PSKE)
                    {
                        Name (_HID, EisaId ("PNP0303"))
                        Name (_CID, EisaId ("PNP030B"))
                        Method (_STA, 0, NotSerialized)
                        {
                            Store (Zero, Local1)
                            Store (STA (0x07), Local1)
                            Return (Local1)
                        }

                        Name (_CRS, ResourceTemplate ()
                        {
                            IO (Decode16,
                                0x0060,             // Range Minimum
                                0x0060,             // Range Maximum
                                0x00,               // Alignment
                                0x01,               // Length
                                )
                            IO (Decode16,
                                0x0064,             // Range Minimum
                                0x0064,             // Range Maximum
                                0x00,               // Alignment
                                0x01,               // Length
                                )
                            IRQNoFlags ()
                                {1}
                        })
                        Method (_PRW, 0, NotSerialized)
                        {
                            Return (GPRW (0x03, 0x04))
                        }

                        Method (_PSW, 1, NotSerialized)
                        {
                            If (Arg0)
                            {
                                Store (One, KBWF)
                            }
                            Else
                            {
                                Store (Zero, KBWF)
                            }
                        }
                    }

                    Device (PSMS)
                    {
                        Name (_HID, EisaId ("PNP0F03"))
                        Name (_CID, EisaId ("PNP0F13"))
                        Method (_STA, 0, NotSerialized)
                        {
                            Store (Zero, Local1)
                            Store (STA (0x07), Local1)
                            Return (Local1)
                        }

                        Name (_CRS, ResourceTemplate ()
                        {
                            IRQNoFlags ()
                                {12}
                        })
                        Method (_PRW, 0, NotSerialized)
                        {
                            Return (GPRW (0x03, 0x04))
                        }

                        Method (_PSW, 1, NotSerialized)
                        {
                            If (Arg0)
                            {
                                Store (One, MSWF)
                            }
                            Else
                            {
                                Store (Zero, MSWF)
                            }
                        }
                    }

                    Method (KWEN, 0, NotSerialized)
                    {
                        WRMB (0x81, Zero)
                        WRMB (0x82, One)
                        WRMB (0x80, Zero)
                        WRMB (0xA0, 0x95)
                    }

                    Method (KWDS, 0, NotSerialized)
                    {
                        WRMB (0x81, Zero)
                        WRMB (0x82, Zero)
                        WRMB (0x80, Zero)
                        WRMB (0xA0, 0x95)
                    }

                    Method (MWEN, 0, NotSerialized)
                    {
                        WRMB (0x81, One)
                        WRMB (0x82, One)
                        WRMB (0x80, Zero)
                        WRMB (0xA0, 0x95)
                    }

                    Method (MWDS, 0, NotSerialized)
                    {
                        WRMB (0x81, One)
                        WRMB (0x82, Zero)
                        WRMB (0x80, Zero)
                        WRMB (0xA0, 0x95)
                    }

                    Device (ECIR)
                    {
                        Name (_HID, EisaId ("AMDC001"))
                        Method (_STA, 0, NotSerialized)
                        {
                            Store (Zero, Local1)
                            If (LEqual (OSTY, 0x06))
                            {
                                Store (STA (0x05), Local1)
                            }

                            Return (Local1)
                        }

                        Method (_CRS, 0, NotSerialized)
                        {
                            Name (RSRC, ResourceTemplate ()
                            {
                                IO (Decode16,
                                    0x0000,             // Range Minimum
                                    0x0000,             // Range Maximum
                                    0x08,               // Alignment
                                    0x08,               // Length
                                    _Y02)
                                IRQNoFlags (_Y03)
                                    {}
                            })
                            CreateByteField (RSRC, \_SB.PCI0.SBRG.ECIR._CRS._Y02._MIN, IO1)
                            CreateByteField (RSRC, 0x03, IO2)
                            CreateByteField (RSRC, \_SB.PCI0.SBRG.ECIR._CRS._Y02._MAX, IO3)
                            CreateByteField (RSRC, 0x05, IO4)
                            CreateWordField (RSRC, \_SB.PCI0.SBRG.ECIR._CRS._Y03._INT, IRQV)
                            Acquire (ECMU, 0x1388)
                            CFG (0x05)
                            If (ACT)
                            {
                                Store (IOBL, IO1)
                                Store (IOBH, IO2)
                                Store (IOBL, IO3)
                                Store (IOBH, IO4)
                                Store (One, Local0)
                                ShiftLeft (Local0, INT, IRQV)
                            }

                            XCFG ()
                            Release (ECMU)
                            Return (RSRC)
                        }

                        Name (_PRS, ResourceTemplate ()
                        {
                            StartDependentFn (0x00, 0x00)
                            {
                                IO (Decode16,
                                    0x0550,             // Range Minimum
                                    0x0550,             // Range Maximum
                                    0x01,               // Alignment
                                    0x08,               // Length
                                    )
                                IRQ (Edge, ActiveHigh, Shared, )
                                    {5}
                            }
                            StartDependentFnNoPri ()
                            {
                                IO (Decode16,
                                    0x0650,             // Range Minimum
                                    0x0650,             // Range Maximum
                                    0x01,               // Alignment
                                    0x08,               // Length
                                    )
                                IRQ (Edge, ActiveHigh, Shared, )
                                    {5}
                            }
                            StartDependentFnNoPri ()
                            {
                                IO (Decode16,
                                    0x0550,             // Range Minimum
                                    0x0550,             // Range Maximum
                                    0x01,               // Alignment
                                    0x08,               // Length
                                    )
                                IRQ (Edge, ActiveHigh, Shared, )
                                    {3}
                            }
                            StartDependentFnNoPri ()
                            {
                                IO (Decode16,
                                    0x0650,             // Range Minimum
                                    0x0650,             // Range Maximum
                                    0x01,               // Alignment
                                    0x08,               // Length
                                    )
                                IRQ (Edge, ActiveHigh, Shared, )
                                    {3}
                            }
                            EndDependentFn ()
                        })
                        Method (_SRS, 1, NotSerialized)
                        {
                            CreateByteField (Arg0, 0x02, IO1)
                            CreateByteField (Arg0, 0x03, IO2)
                            CreateWordField (Arg0, 0x09, IRQV)
                            Acquire (ECMU, 0x1388)
                            CFG (0x05)
                            Store (IO1, IOBL)
                            Store (IO2, IOBH)
                            FindSetRightBit (IRQV, Local0)
                            Subtract (Local0, One, INT)
                            Store (One, ACT)
                            XCFG ()
                            Release (ECMU)
                        }

                        Method (_PRW, 0, NotSerialized)
                        {
                            Return (GPRW (0x17, 0x04))
                        }

                        Method (_PSW, 1, NotSerialized)
                        {
                            If (Arg0)
                            {
                                Store (One, IRWF)
                            }
                            Else
                            {
                                Store (Zero, IRWF)
                            }
                        }

                        Method (IRCF, 2, NotSerialized)
                        {
                            Name (CONN, Zero)
                            If (LEqual (Arg0, One))
                            {
                                Or (RVID, CONN, CONN)
                                Or (0x00013200, CONN, CONN)
                                Return (CONN)
                            }

                            If (LEqual (Arg0, 0x02))
                            {
                                ShiftLeft (GP64, One, CONN)
                                Or (GP51, CONN, CONN)
                                Return (CONN)
                            }

                            If (LEqual (Arg0, 0x03))
                            {
                                If (LEqual (Arg1, Zero))
                                {
                                    Store (One, G31O)
                                }
                                Else
                                {
                                    Store (Zero, G31O)
                                    Sleep (0x64)
                                    Store (One, G31O)
                                }
                            }

                            If (LEqual (Arg0, 0x04))
                            {
                                If (LEqual (Arg1, Zero))
                                {
                                    Store (Zero, ACIR)
                                }
                                Else
                                {
                                    Store (One, ACIR)
                                }
                            }

                            If (LOr (LEqual (Arg0, Zero), LGreater (Arg0, 0x05)))
                            {
                                Store (Ones, CONN)
                            }

                            Return (CONN)
                        }
                    }

                    Method (PPTS, 1, NotSerialized)
                    {
                        If (^PSKE._STA ())
                        {
                            If (KBWF)
                            {
                                KWEN ()
                            }
                            Else
                            {
                                KWDS ()
                            }
                        }

                        If (^PSMS._STA ())
                        {
                            If (MSWF)
                            {
                                MWEN ()
                            }
                            Else
                            {
                                MWDS ()
                            }
                        }
                    }

                    Method (WWAK, 1, NotSerialized)
                    {
                        If (^PSKE._STA ())
                        {
                            KWDS ()
                        }

                        If (^PSMS._STA ())
                        {
                            MWDS ()
                        }
                    }
                }

                Method (EPTS, 1, NotSerialized)
                {
                    If (ECEN)
                    {
                        PPTS (Arg0)
                    }
                }

                Method (EWAK, 1, NotSerialized)
                {
                    If (ECEN)
                    {
                        WWAK (Arg0)
                    }
                }

                Device (PIC)
                {
                    Name (_HID, EisaId ("PNP0000"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0020,             // Range Minimum
                            0x0020,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x00A0,             // Range Minimum
                            0x00A0,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IRQNoFlags ()
                            {2}
                    })
                }

                Device (DMAD)
                {
                    Name (_HID, EisaId ("PNP0200"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        DMA (Compatibility, BusMaster, Transfer8, )
                            {4}
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x00,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x0081,             // Range Minimum
                            0x0081,             // Range Maximum
                            0x00,               // Alignment
                            0x03,               // Length
                            )
                        IO (Decode16,
                            0x0087,             // Range Minimum
                            0x0087,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0089,             // Range Minimum
                            0x0089,             // Range Maximum
                            0x00,               // Alignment
                            0x03,               // Length
                            )
                        IO (Decode16,
                            0x008F,             // Range Minimum
                            0x008F,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x00C0,             // Range Minimum
                            0x00C0,             // Range Maximum
                            0x00,               // Alignment
                            0x20,               // Length
                            )
                    })
                }

                Device (TMR)
                {
                    Name (_HID, EisaId ("PNP0100"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0040,             // Range Minimum
                            0x0040,             // Range Maximum
                            0x00,               // Alignment
                            0x04,               // Length
                            )
                        IRQNoFlags ()
                            {0}
                    })
                }

                Device (RTC0)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IRQNoFlags ()
                            {8}
                    })
                }

                Device (SPKR)
                {
                    Name (_HID, EisaId ("PNP0800"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0061,             // Range Minimum
                            0x0061,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                    })
                }

                Device (COPR)
                {
                    Name (_HID, EisaId ("PNP0C04"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x00F0,             // Range Minimum
                            0x00F0,             // Range Maximum
                            0x00,               // Alignment
                            0x10,               // Length
                            )
                        IRQNoFlags ()
                            {13}
                    })
                }

                Device (UAR2)
                {
                    Name (_UID, 0x02)
                    Method (_HID, 0, NotSerialized)
                    {
                        Return (UHID (One))
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Return (DSTA (One))
                    }

                    Method (_DIS, 0, NotSerialized)
                    {
                        DCNT (One, Zero)
                    }

                    Method (_CRS, 0, NotSerialized)
                    {
                        Return (DCRS (One, One))
                    }

                    Method (_SRS, 1, NotSerialized)
                    {
                        DSRS (Arg0, One)
                    }

                    Method (_PRS, 0, NotSerialized)
                    {
                        Return (CMPR)
                    }

                    Name (CMPR, ResourceTemplate ()
                    {
                        StartDependentFn (0x00, 0x00)
                        {
                            IO (Decode16,
                                0x02F8,             // Range Minimum
                                0x02F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03F8,             // Range Minimum
                                0x03F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x02F8,             // Range Minimum
                                0x02F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03E8,             // Range Minimum
                                0x03E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x02E8,             // Range Minimum
                                0x02E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03F8,             // Range Minimum
                                0x03F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,2,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x02F8,             // Range Minimum
                                0x02F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,2,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03E8,             // Range Minimum
                                0x03E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,2,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x02E8,             // Range Minimum
                                0x02E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,2,3}
                        }
                        EndDependentFn ()
                    })
                }

                Device (FDC)
                {
                    Name (_HID, EisaId ("PNP0700"))
                    Method (_FDE, 0, NotSerialized)
                    {
                        Name (FDEP, Package (0x05)
                        {
                            Zero, 
                            Zero, 
                            0x02, 
                            0x02, 
                            0x02
                        })
                        If (_STA ())
                        {
                            Store (One, Index (FDEP, Zero))
                        }

                        Return (FDEP)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Return (DSTA (0x03))
                    }

                    Method (_DIS, 0, NotSerialized)
                    {
                        DCNT (0x03, Zero)
                    }

                    Method (_CRS, 0, NotSerialized)
                    {
                        DCRS (0x03, One)
                        Store (IRQM, IRQE)
                        Store (DMAM, DMAE)
                        Store (IO11, IO21)
                        Store (IO12, IO22)
                        Store (0x06, LEN2)
                        Add (IO21, 0x07, IO31)
                        Store (IO31, IO32)
                        Store (One, LEN3)
                        Return (CRS2)
                    }

                    Method (_SRS, 1, NotSerialized)
                    {
                        DSRS (Arg0, 0x03)
                        CreateWordField (Arg0, 0x11, IRQE)
                        CreateByteField (Arg0, 0x14, DMAE)
                        ENFG (CGLD (0x03))
                        If (IRQE)
                        {
                            FindSetRightBit (IRQE, Local0)
                            Subtract (Local0, One, INTR)
                        }
                        Else
                        {
                            Store (Zero, INTR)
                        }

                        If (DMAE)
                        {
                            FindSetRightBit (DMAE, Local0)
                            Subtract (Local0, One, DMCH)
                        }
                        Else
                        {
                            Store (0x04, DMCH)
                        }

                        EXFG ()
                    }

                    Name (_PRS, ResourceTemplate ()
                    {
                        StartDependentFn (0x00, 0x00)
                        {
                            IO (Decode16,
                                0x03F0,             // Range Minimum
                                0x03F0,             // Range Maximum
                                0x01,               // Alignment
                                0x06,               // Length
                                )
                            IO (Decode16,
                                0x03F7,             // Range Minimum
                                0x03F7,             // Range Maximum
                                0x01,               // Alignment
                                0x01,               // Length
                                )
                            IRQNoFlags ()
                                {6}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {2}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03F0,             // Range Minimum
                                0x03F0,             // Range Maximum
                                0x01,               // Alignment
                                0x06,               // Length
                                )
                            IO (Decode16,
                                0x03F7,             // Range Minimum
                                0x03F7,             // Range Maximum
                                0x01,               // Alignment
                                0x01,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,2,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0370,             // Range Minimum
                                0x0370,             // Range Maximum
                                0x01,               // Alignment
                                0x06,               // Length
                                )
                            IO (Decode16,
                                0x0377,             // Range Minimum
                                0x0377,             // Range Maximum
                                0x01,               // Alignment
                                0x01,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,2,3}
                        }
                        EndDependentFn ()
                    })
                }

                Device (HPET)
                {
                    Name (_HID, EisaId ("PNP0103"))
                    Name (CRS, ResourceTemplate ()
                    {
                        Memory32Fixed (ReadOnly,
                            0xFED00000,         // Address Base
                            0x00000400,         // Address Length
                            _Y04)
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }

                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateDWordField (CRS, \_SB.PCI0.SBRG.HPET._Y04._BAS, HPT)
                        Store (0xFED00000, HPT)
                        Return (CRS)
                    }
                }

                Scope (\_SB)
                {
                    Device (AWY)
                    {
                        Name (_HID, "AWY0001")
                        Method (_STA, 0, NotSerialized)
                        {
                            If (LEqual (AWAY, One))
                            {
                                Return (0x0F)
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }

                        Method (SMOD, 1, NotSerialized)
                        {
                            If (Arg0)
                            {
                                Store (0x60, DBG8)
                                ^^PCI0.SBRG.SLED (Zero)
                            }
                            Else
                            {
                                Store (0x06, DBG8)
                                ^^PCI0.SBRG.SLED (Ones)
                            }
                        }
                    }
                }

                Device (^PCIE)
                {
                    Name (_HID, EisaId ("PNP0C02"))
                    Name (_UID, 0x11)
                    Name (CRS, ResourceTemplate ()
                    {
                        Memory32Fixed (ReadOnly,
                            0xE0000000,         // Address Base
                            0x10000000,         // Address Length
                            _Y05)
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateDWordField (CRS, \_SB.PCI0.PCIE._Y05._BAS, BAS1)
                        CreateDWordField (CRS, \_SB.PCI0.PCIE._Y05._LEN, LEN1)
                        Store (PCIB, BAS1)
                        Store (PCIL, LEN1)
                        Return (CRS)
                    }
                }

                Device (OMSC)
                {
                    Name (_HID, EisaId ("PNP0C02"))
                    Name (_UID, Zero)
                    Name (CRS, ResourceTemplate ()
                    {
                        Memory32Fixed (ReadOnly,
                            0x00000000,         // Address Base
                            0x00000000,         // Address Length
                            _Y06)
                        Memory32Fixed (ReadOnly,
                            0x00000000,         // Address Base
                            0x00000000,         // Address Length
                            _Y07)
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        If (APIC)
                        {
                            CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y06._LEN, ML01)
                            CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y06._BAS, MB01)
                            CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y07._LEN, ML02)
                            CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y07._BAS, MB02)
                            Store (0xFEC00000, MB01)
                            Store (0x1000, ML01)
                            Store (0xFEE00000, MB02)
                            Store (0x1000, ML02)
                        }

                        Return (CRS)
                    }
                }

                Device (^^RMEM)
                {
                    Name (_HID, EisaId ("PNP0C01"))
                    Name (_UID, One)
                    Name (CRS, ResourceTemplate ()
                    {
                        Memory32Fixed (ReadWrite,
                            0x00000000,         // Address Base
                            0x000A0000,         // Address Length
                            )
                        Memory32Fixed (ReadOnly,
                            0x00000000,         // Address Base
                            0x00000000,         // Address Length
                            _Y08)
                        Memory32Fixed (ReadOnly,
                            0x000E0000,         // Address Base
                            0x00020000,         // Address Length
                            _Y09)
                        Memory32Fixed (ReadWrite,
                            0x00100000,         // Address Base
                            0x00000000,         // Address Length
                            _Y0A)
                        Memory32Fixed (ReadOnly,
                            0x00000000,         // Address Base
                            0x00000000,         // Address Length
                            _Y0B)
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateDWordField (CRS, \_SB.RMEM._Y08._BAS, BAS1)
                        CreateDWordField (CRS, \_SB.RMEM._Y08._LEN, LEN1)
                        CreateDWordField (CRS, \_SB.RMEM._Y09._BAS, BAS2)
                        CreateDWordField (CRS, \_SB.RMEM._Y09._LEN, LEN2)
                        CreateDWordField (CRS, \_SB.RMEM._Y0A._LEN, LEN3)
                        CreateDWordField (CRS, \_SB.RMEM._Y0B._BAS, BAS4)
                        CreateDWordField (CRS, \_SB.RMEM._Y0B._LEN, LEN4)
                        If (OSFL ()) {}
                        Else
                        {
                            If (MG1B)
                            {
                                If (LGreater (MG1B, 0x000C0000))
                                {
                                    Store (0x000C0000, BAS1)
                                    Subtract (MG1B, BAS1, LEN1)
                                }
                            }
                            Else
                            {
                                Store (0x000C0000, BAS1)
                                Store (0x00020000, LEN1)
                            }

                            If (Add (MG1B, MG1L, Local0))
                            {
                                Store (Local0, BAS2)
                                Subtract (0x00100000, BAS2, LEN2)
                            }
                        }

                        Subtract (MG2B, 0x00100000, LEN3)
                        Store (MH1B, BAS4)
                        Subtract (Zero, BAS4, LEN4)
                        Return (CRS)
                    }
                }

                Device (RMSC)
                {
                    Name (_HID, EisaId ("PNP0C02"))
                    Name (_UID, 0x10)
                    Name (CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0010,             // Range Minimum
                            0x0010,             // Range Maximum
                            0x00,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x0022,             // Range Minimum
                            0x0022,             // Range Maximum
                            0x00,               // Alignment
                            0x1E,               // Length
                            )
                        IO (Decode16,
                            0x0062,             // Range Minimum
                            0x0062,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0065,             // Range Minimum
                            0x0065,             // Range Maximum
                            0x00,               // Alignment
                            0x0B,               // Length
                            )
                        IO (Decode16,
                            0x0072,             // Range Minimum
                            0x0072,             // Range Maximum
                            0x00,               // Alignment
                            0x0E,               // Length
                            )
                        IO (Decode16,
                            0x0080,             // Range Minimum
                            0x0080,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0084,             // Range Minimum
                            0x0084,             // Range Maximum
                            0x00,               // Alignment
                            0x03,               // Length
                            )
                        IO (Decode16,
                            0x0088,             // Range Minimum
                            0x0088,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x008C,             // Range Minimum
                            0x008C,             // Range Maximum
                            0x00,               // Alignment
                            0x03,               // Length
                            )
                        IO (Decode16,
                            0x0090,             // Range Minimum
                            0x0090,             // Range Maximum
                            0x00,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x00A2,             // Range Minimum
                            0x00A2,             // Range Maximum
                            0x00,               // Alignment
                            0x1E,               // Length
                            )
                        IO (Decode16,
                            0x00B1,             // Range Minimum
                            0x00B1,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x00E0,             // Range Minimum
                            0x00E0,             // Range Maximum
                            0x00,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x04D0,             // Range Minimum
                            0x04D0,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x040B,             // Range Minimum
                            0x040B,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x04D6,             // Range Minimum
                            0x04D6,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0C00,             // Range Minimum
                            0x0C00,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0C14,             // Range Minimum
                            0x0C14,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0C50,             // Range Minimum
                            0x0C50,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0C52,             // Range Minimum
                            0x0C52,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0C6C,             // Range Minimum
                            0x0C6C,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0C6F,             // Range Minimum
                            0x0C6F,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0CD0,             // Range Minimum
                            0x0CD0,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0CD2,             // Range Minimum
                            0x0CD2,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0CD4,             // Range Minimum
                            0x0CD4,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0CD6,             // Range Minimum
                            0x0CD6,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0CD8,             // Range Minimum
                            0x0CD8,             // Range Maximum
                            0x00,               // Alignment
                            0x08,               // Length
                            )
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x00,               // Alignment
                            0x00,               // Length
                            _Y0C)
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x00,               // Alignment
                            0x00,               // Length
                            _Y0F)
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x00,               // Alignment
                            0x00,               // Length
                            _Y0E)
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x00,               // Alignment
                            0x00,               // Length
                            _Y0D)
                        IO (Decode16,
                            0x0900,             // Range Minimum
                            0x0900,             // Range Maximum
                            0x00,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x0910,             // Range Minimum
                            0x0910,             // Range Maximum
                            0x00,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0xFE00,             // Range Minimum
                            0xFE00,             // Range Maximum
                            0x00,               // Alignment
                            0xFF,               // Length
                            )
                        Memory32Fixed (ReadOnly,
                            0xFFB80000,         // Address Base
                            0x00080000,         // Address Length
                            )
                        Memory32Fixed (ReadOnly,
                            0xFEC10000,         // Address Base
                            0x00000020,         // Address Length
                            )
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y0C._MIN, GP00)
                        CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y0C._MAX, GP01)
                        CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y0C._LEN, GP0L)
                        Store (PMBS, GP00)
                        Store (PMBS, GP01)
                        Store (PMLN, GP0L)
                        If (SMBB)
                        {
                            CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y0D._MIN, GP10)
                            CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y0D._MAX, GP11)
                            CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y0D._LEN, GP1L)
                            Store (SMBB, GP10)
                            Store (SMBB, GP11)
                            Store (SMBL, GP1L)
                            CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y0E._MIN, GPB0)
                            CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y0E._MAX, GPB1)
                            CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y0E._LEN, GPBL)
                            Store (SMB0, GPB0)
                            Store (SMB0, GPB1)
                            Store (SMBM, GPBL)
                        }

                        If (GPBS)
                        {
                            CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y0F._MIN, GP20)
                            CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y0F._MAX, GP21)
                            CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y0F._LEN, GP2L)
                            Store (GPBS, GP20)
                            Store (GPBS, GP21)
                            Store (GPLN, GP2L)
                        }

                        Return (CRS)
                    }
                }

                Scope (\_GPE)
                {
                    Method (_L07, 0, NotSerialized)
                    {
                        \_SB.PCI0.SBRG.SIOH ()
                    }
                }

                Device (PS2K)
                {
                    Name (_HID, EisaId ("PNP0303"))
                    Name (_CID, EisaId ("PNP030B"))
                    Method (_STA, 0, NotSerialized)
                    {
                        ShiftLeft (One, 0x0A, Local0)
                        If (And (IOST, Local0))
                        {
                            Return (0x0F)
                        }

                        Return (Zero)
                    }

                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0060,             // Range Minimum
                            0x0060,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0064,             // Range Minimum
                            0x0064,             // Range Maximum
                            0x00,               // Alignment
                            0x01,               // Length
                            )
                        IRQNoFlags ()
                            {1}
                    })
                }

                Method (PS2K._PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x03, 0x04))
                }

                Device (PS2M)
                {
                    Name (_HID, EisaId ("PNP0F03"))
                    Name (_CID, EisaId ("PNP0F13"))
                    Method (_STA, 0, NotSerialized)
                    {
                        ShiftLeft (One, 0x0C, Local0)
                        If (And (IOST, Local0))
                        {
                            Return (0x0F)
                        }

                        Return (Zero)
                    }

                    Name (_CRS, ResourceTemplate ()
                    {
                        IRQNoFlags ()
                            {12}
                    })
                }

                Method (PS2M._PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x03, 0x04))
                }

                Device (UAR1)
                {
                    Name (_UID, One)
                    Name (_HID, EisaId ("PNP0501"))
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (DSTA (Zero))
                    }

                    Method (_DIS, 0, NotSerialized)
                    {
                        DCNT (Zero, Zero)
                    }

                    Method (_CRS, 0, NotSerialized)
                    {
                        Return (DCRS (Zero, Zero))
                    }

                    Method (_SRS, 1, NotSerialized)
                    {
                        DSRS (Arg0, Zero)
                    }

                    Method (_PRS, 0, NotSerialized)
                    {
                        Return (CMPR)
                    }

                    Name (CMPR, ResourceTemplate ()
                    {
                        StartDependentFn (0x00, 0x00)
                        {
                            IO (Decode16,
                                0x03F8,             // Range Minimum
                                0x03F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {4}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03F8,             // Range Minimum
                                0x03F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x02F8,             // Range Minimum
                                0x02F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03E8,             // Range Minimum
                                0x03E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x02E8,             // Range Minimum
                                0x02E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,4,5,6,7,10,11,12}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {}
                        }
                        EndDependentFn ()
                    })
                }

                Method (UAR1._PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x10, 0x04))
                }

                Device (SIOR)
                {
                    Name (_HID, EisaId ("PNP0C02"))
                    Method (_UID, 0, NotSerialized)
                    {
                        Return (SPIO)
                    }

                    Name (CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x00,               // Alignment
                            0x00,               // Length
                            _Y10)
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x00,               // Alignment
                            0x00,               // Length
                            _Y11)
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x00,               // Alignment
                            0x00,               // Length
                            _Y12)
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        If (LAnd (LNotEqual (SPIO, 0x03F0), LGreater (SPIO, 0xF0)))
                        {
                            CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y10._MIN, GP10)
                            CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y10._MAX, GP11)
                            CreateByteField (CRS, \_SB.PCI0.SBRG.SIOR._Y10._LEN, GPL1)
                            Store (SPIO, GP10)
                            Store (SPIO, GP11)
                            Store (0x02, GPL1)
                        }

                        If (IOSB)
                        {
                            CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y11._MIN, GP20)
                            CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y11._MAX, GP21)
                            CreateByteField (CRS, \_SB.PCI0.SBRG.SIOR._Y11._LEN, GPL2)
                            Store (IOSB, GP20)
                            Store (IOSB, GP21)
                            Store (IOSL, GPL2)
                        }

                        If (IOHB)
                        {
                            CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y12._MIN, GP30)
                            CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y12._MAX, GP31)
                            CreateByteField (CRS, \_SB.PCI0.SBRG.SIOR._Y12._LEN, GPL3)
                            Store (IOHB, GP30)
                            Store (IOHB, GP31)
                            Store (IOHL, GPL3)
                        }

                        Return (CRS)
                    }
                }

                Name (DCAT, Package (0x16)
                {
                    0x02, 
                    0x03, 
                    One, 
                    Zero, 
                    0xFF, 
                    0x07, 
                    0xFF, 
                    0xFF, 
                    0x07, 
                    0xFF, 
                    0xFF, 
                    0xFF, 
                    0xFF, 
                    0xFF, 
                    0xFF, 
                    0xFF, 
                    0x07, 
                    0x09, 
                    0xFF, 
                    0xFF, 
                    0xFF, 
                    0xFF
                })
                Method (ENFG, 1, NotSerialized)
                {
                    Store (0x87, INDX)
                    Store (0x87, INDX)
                    Store (Arg0, LDN)
                }

                Method (EXFG, 0, NotSerialized)
                {
                    Store (0xAA, INDX)
                }

                Method (LPTM, 1, NotSerialized)
                {
                    ENFG (CGLD (Arg0))
                    And (OPT0, 0x02, Local0)
                    EXFG ()
                    Return (Local0)
                }

                Method (UHID, 1, NotSerialized)
                {
                    If (LEqual (Arg0, One))
                    {
                        ENFG (CGLD (Arg0))
                        And (OPT1, 0x38, Local0)
                        EXFG ()
                        If (Local0)
                        {
                            Return (0x1005D041)
                        }
                    }

                    Return (0x0105D041)
                }

                Method (SIOK, 1, NotSerialized)
                {
                    ENFG (0x0A)
                    While (OPT3)
                    {
                        Stall (0x80)
                        Store (0xFF, OPT3)
                    }

                    And (0xFF, OPT3, OPT3)
                    And (Arg0, One, Local0)
                    And (OPT2, 0xFE, OPT2)
                    Or (OPT2, Local0, OPT2)
                    Store (And (Arg0, One), ACTR)
                    EXFG ()
                }

                Method (SLED, 1, NotSerialized)
                {
                    ENFG (0x08)
                    If (Arg0)
                    {
                        And (OPT5, 0x3F, OPT5)
                        Or (OPT5, 0x80, OPT5)
                        Store (0x09, LDN)
                        Store (0x80, OPT3)
                    }
                    Else
                    {
                        And (OPT5, 0x3F, OPT5)
                        Or (OPT5, 0x40, OPT5)
                        Store (0x09, LDN)
                        Store (0x40, OPT3)
                    }

                    EXFG ()
                }

                Name (KBFG, One)
                Name (MSFG, One)
                Name (U1FG, One)
                Name (U2FG, One)
                Method (PS2K._PSW, 1, NotSerialized)
                {
                    If (LNot (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))))
                    {
                        If (Arg0)
                        {
                            Store (One, KBFG)
                        }
                        Else
                        {
                            Store (Zero, KBFG)
                        }
                    }
                }

                Method (PS2M._PSW, 1, NotSerialized)
                {
                    If (LNot (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))))
                    {
                        If (Arg0)
                        {
                            Store (One, MSFG)
                        }
                        Else
                        {
                            Store (Zero, MSFG)
                        }
                    }
                }

                Method (SIOS, 1, NotSerialized)
                {
                    OperationRegion (KBIO, SystemIO, 0x60, 0x05)
                    Field (KBIO, ByteAcc, NoLock, Preserve)
                    {
                        KBDT,   8, 
                                Offset (0x02), 
                                Offset (0x03), 
                                Offset (0x04), 
                        KBST,   8
                    }

                    Store ("SIOS", Debug)
                    Sleep (0xC8)
                    And (KBST, One, Local0)
                    While (Local0)
                    {
                        Store (KBDT, Local0)
                        Sleep (0xC8)
                        And (KBST, One, Local0)
                    }

                    If (LEqual (Arg0, One))
                    {
                        SIOK (Ones)
                        ENFG (0x0A)
                        If (KBFG)
                        {
                            Or (OPT6, 0x10, OPT6)
                        }

                        If (MSFG)
                        {
                            Or (OPT6, 0x20, OPT6)
                        }

                        EXFG ()
                    }

                    If (LGreaterEqual (Arg0, 0x03))
                    {
                        ENFG (0x0A)
                        Store (Zero, CRE0)
                        Store (Zero, CRE1)
                        Store (Zero, CRE2)
                        Store (CRE3, Local0)
                        Sleep (0xC8)
                        If (KBFG)
                        {
                            Or (CRE0, 0x41, CRE0)
                        }

                        If (MSFG)
                        {
                            Or (CRE0, 0x22, CRE0)
                        }

                        EXFG ()
                    }

                    If (Or (LEqual (Arg0, One), LEqual (Arg0, 0x03)))
                    {
                        SLED (Ones)
                    }
                }

                Method (SIOW, 1, NotSerialized)
                {
                    Store ("SIOW", Debug)
                    SIOK (Zero)
                    ENFG (0x0A)
                    While (OPT3)
                    {
                        Stall (0x80)
                        Store (0xFF, OPT3)
                    }

                    And (CRE0, 0x9F, CRE0)
                    And (OPT6, 0xCF, OPT6)
                    And (OPT2, 0xFE, OPT2)
                    EXFG ()
                    SLED (Zero)
                }

                Method (SIOH, 0, NotSerialized)
                {
                    Notify (PWRB, 0x02)
                }

                OperationRegion (IOID, SystemIO, SPIO, 0x02)
                Field (IOID, ByteAcc, NoLock, Preserve)
                {
                    INDX,   8, 
                    DATA,   8
                }

                IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
                {
                            Offset (0x07), 
                    LDN,    8, 
                            Offset (0x22), 
                    FDCP,   1, 
                        ,   2, 
                    LPTP,   1, 
                    URAP,   1, 
                    URBP,   1, 
                            Offset (0x30), 
                    ACTR,   8, 
                            Offset (0x60), 
                    IOAH,   8, 
                    IOAL,   8, 
                    IOH2,   8, 
                    IOL2,   8, 
                            Offset (0x70), 
                    INTR,   8, 
                            Offset (0x74), 
                    DMCH,   8, 
                            Offset (0xE0), 
                    CRE0,   8, 
                    CRE1,   8, 
                    CRE2,   8, 
                    CRE3,   8, 
                    CRE4,   8, 
                    CRE5,   8, 
                    CRE6,   8, 
                            Offset (0xF0), 
                    OPT0,   8, 
                    OPT1,   8, 
                    OPT2,   8, 
                    OPT3,   8, 
                    OPT4,   8, 
                    OPT5,   8, 
                    OPT6,   8
                }

                Method (CGLD, 1, NotSerialized)
                {
                    Return (DerefOf (Index (DCAT, Arg0)))
                }

                Method (DSTA, 1, NotSerialized)
                {
                    ENFG (CGLD (Arg0))
                    Store (ACTR, Local0)
                    EXFG ()
                    If (LEqual (Local0, 0xFF))
                    {
                        Return (Zero)
                    }

                    If (LEqual (Arg0, 0x05))
                    {
                        And (Local0, 0x04, Local0)
                        ShiftRight (Local0, 0x02, Local0)
                    }

                    If (LEqual (Arg0, 0x08))
                    {
                        And (Local0, 0x02, Local0)
                        ShiftRight (Local0, One, Local0)
                    }

                    And (Local0, One, Local0)
                    Or (IOST, ShiftLeft (Local0, Arg0), IOST)
                    If (Local0)
                    {
                        Return (0x0F)
                    }
                    Else
                    {
                        If (And (ShiftLeft (One, Arg0), IOST))
                        {
                            Return (0x0D)
                        }
                        Else
                        {
                            Return (Zero)
                        }
                    }
                }

                Method (DCNT, 2, NotSerialized)
                {
                    ENFG (CGLD (Arg0))
                    ShiftLeft (IOAH, 0x08, Local1)
                    Or (IOAL, Local1, Local1)
                    If (LAnd (LLess (DMCH, 0x04), LNotEqual (And (DMCH, 0x03, 
                        Local1), Zero)))
                    {
                        RDMA (Arg0, Arg1, Increment (Local1))
                    }

                    Store (Arg1, ACTR)
                    RRIO (Arg0, Arg1, Local1, 0x08)
                    EXFG ()
                }

                Name (CRS1, ResourceTemplate ()
                {
                    IO (Decode16,
                        0x0000,             // Range Minimum
                        0x0000,             // Range Maximum
                        0x01,               // Alignment
                        0x00,               // Length
                        _Y15)
                    IRQNoFlags (_Y13)
                        {}
                    DMA (Compatibility, NotBusMaster, Transfer8, _Y14)
                        {}
                })
                CreateWordField (CRS1, \_SB.PCI0.SBRG._Y13._INT, IRQM)
                CreateByteField (CRS1, \_SB.PCI0.SBRG._Y14._DMA, DMAM)
                CreateWordField (CRS1, \_SB.PCI0.SBRG._Y15._MIN, IO11)
                CreateWordField (CRS1, \_SB.PCI0.SBRG._Y15._MAX, IO12)
                CreateByteField (CRS1, \_SB.PCI0.SBRG._Y15._LEN, LEN1)
                Name (CRS2, ResourceTemplate ()
                {
                    IO (Decode16,
                        0x0000,             // Range Minimum
                        0x0000,             // Range Maximum
                        0x01,               // Alignment
                        0x00,               // Length
                        _Y18)
                    IO (Decode16,
                        0x0000,             // Range Minimum
                        0x0000,             // Range Maximum
                        0x01,               // Alignment
                        0x00,               // Length
                        _Y19)
                    IRQNoFlags (_Y16)
                        {6}
                    DMA (Compatibility, NotBusMaster, Transfer8, _Y17)
                        {2}
                })
                CreateWordField (CRS2, \_SB.PCI0.SBRG._Y16._INT, IRQE)
                CreateByteField (CRS2, \_SB.PCI0.SBRG._Y17._DMA, DMAE)
                CreateWordField (CRS2, \_SB.PCI0.SBRG._Y18._MIN, IO21)
                CreateWordField (CRS2, \_SB.PCI0.SBRG._Y18._MAX, IO22)
                CreateByteField (CRS2, \_SB.PCI0.SBRG._Y18._LEN, LEN2)
                CreateWordField (CRS2, \_SB.PCI0.SBRG._Y19._MIN, IO31)
                CreateWordField (CRS2, \_SB.PCI0.SBRG._Y19._MAX, IO32)
                CreateByteField (CRS2, \_SB.PCI0.SBRG._Y19._LEN, LEN3)
                Method (DCRS, 2, NotSerialized)
                {
                    ENFG (CGLD (Arg0))
                    ShiftLeft (IOAH, 0x08, IO11)
                    Or (IOAL, IO11, IO11)
                    Store (IO11, IO12)
                    Subtract (FindSetRightBit (IO11), One, Local0)
                    ShiftLeft (One, Local0, LEN1)
                    If (INTR)
                    {
                        ShiftLeft (One, INTR, IRQM)
                    }
                    Else
                    {
                        Store (Zero, IRQM)
                    }

                    If (LOr (LGreater (DMCH, 0x03), LEqual (Arg1, Zero)))
                    {
                        Store (Zero, DMAM)
                    }
                    Else
                    {
                        And (DMCH, 0x03, Local1)
                        ShiftLeft (One, Local1, DMAM)
                    }

                    EXFG ()
                    Return (CRS1)
                }

                Method (DSRS, 2, NotSerialized)
                {
                    CreateWordField (Arg0, 0x09, IRQM)
                    CreateByteField (Arg0, 0x0C, DMAM)
                    CreateWordField (Arg0, 0x02, IO11)
                    ENFG (CGLD (Arg1))
                    ShiftLeft (IOAH, 0x08, Local1)
                    Or (IOAL, Local1, Local1)
                    RRIO (Arg1, Zero, Local1, 0x08)
                    RRIO (Arg1, One, IO11, 0x08)
                    And (IO11, 0xFF, IOAL)
                    ShiftRight (IO11, 0x08, IOAH)
                    If (IRQM)
                    {
                        FindSetRightBit (IRQM, Local0)
                        Subtract (Local0, One, INTR)
                    }
                    Else
                    {
                        Store (Zero, INTR)
                    }

                    If (DMAM)
                    {
                        FindSetRightBit (DMAM, Local0)
                        Subtract (Local0, One, DMCH)
                    }
                    Else
                    {
                        Store (0x04, DMCH)
                    }

                    EXFG ()
                    DCNT (Arg1, One)
                }
            }

            Device (P0PC)
            {
                Name (_ADR, 0x00140004)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x04, 0x04))
                }

                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR0C)
                    }

                    Return (PR0C)
                }
            }

            Device (UHC1)
            {
                Name (_ADR, 0x00120000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0B, 0x04))
                }
            }

            Device (UHC2)
            {
                Name (_ADR, 0x00120001)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0B, 0x04))
                }
            }

            Device (UHC3)
            {
                Name (_ADR, 0x00120002)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0B, 0x04))
                }
            }

            Device (USB4)
            {
                Name (_ADR, 0x00130000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0B, 0x04))
                }
            }

            Device (UHC5)
            {
                Name (_ADR, 0x00130001)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0B, 0x04))
                }
            }

            Device (UHC6)
            {
                Name (_ADR, 0x00130002)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0B, 0x04))
                }
            }

            Device (UHC7)
            {
                Name (_ADR, 0x00140005)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0B, 0x04))
                }
            }

            Device (SATA)
            {
                Name (_ADR, 0x00110000)
                If (LEqual (STCL, 0x0101))
                {
                    Method (_INI, 0, NotSerialized)
                    {
                    }

                    OperationRegion (SACS, PCI_Config, Zero, 0x40)
                    Field (SACS, AnyAcc, NoLock, Preserve)
                    {
                                Offset (0x24), 
                        STB5,   32
                    }

                    Name (SPTM, Buffer (0x14)
                    {
                        /* 0000 */    0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 
                        /* 0008 */    0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 
                        /* 0010 */    0x1F, 0x00, 0x00, 0x00
                    })
                    Device (PRID)
                    {
                        Name (_ADR, Zero)
                        Method (_GTM, 0, NotSerialized)
                        {
                            Return (SPTM)
                        }

                        Method (_STM, 3, NotSerialized)
                        {
                        }

                        Name (PRIS, Zero)
                        Method (_PS0, 0, NotSerialized)
                        {
                            OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                            Field (BAR, AnyAcc, NoLock, Preserve)
                            {
                                        Offset (0x120), 
                                    ,   7, 
                                PMBY,   1, 
                                        Offset (0x128), 
                                PMS0,   4, 
                                        Offset (0x129), 
                                PMS1,   4, 
                                        Offset (0x220), 
                                    ,   7, 
                                PSBY,   1, 
                                        Offset (0x228), 
                                PSS0,   4, 
                                        Offset (0x229), 
                                PSS1,   4, 
                                        Offset (0x2A0), 
                                    ,   7
                            }

                            If (LOr (LEqual (OSTY, 0x06), LEqual (OSTY, 0x04)))
                            {
                                If (PMS1)
                                {
                                    Store (0x32, Local0)
                                    While (LAnd (LEqual (PMBY, One), Local0))
                                    {
                                        Sleep (0xFA)
                                        Decrement (Local0)
                                    }
                                }

                                If (PSS1)
                                {
                                    Store (0x32, Local0)
                                    While (LAnd (LEqual (PSBY, One), Local0))
                                    {
                                        Sleep (0xFA)
                                        Decrement (Local0)
                                    }
                                }
                            }

                            Store (Zero, PRIS)
                        }

                        Method (_PS3, 0, NotSerialized)
                        {
                            Store (0x03, PRIS)
                        }

                        Method (_PSC, 0, NotSerialized)
                        {
                            Return (PRIS)
                        }

                        Device (P_D0)
                        {
                            Name (_ADR, Zero)
                            Method (_STA, 0, NotSerialized)
                            {
                                OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                                Field (BAR, AnyAcc, NoLock, Preserve)
                                {
                                            Offset (0x128), 
                                    PMS0,   4, 
                                            Offset (0x129), 
                                    PMS1,   4
                                }

                                If (Not (LEqual (PMS1, Zero)))
                                {
                                    Return (0x0F)
                                }
                                Else
                                {
                                    Return (Zero)
                                }
                            }

                            Name (S12P, Zero)
                            Method (_PS0, 0, NotSerialized)
                            {
                                OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                                Field (BAR, AnyAcc, NoLock, Preserve)
                                {
                                            Offset (0x120), 
                                        ,   7, 
                                    PMBY,   1
                                }

                                Store (0x32, Local0)
                                While (LAnd (LEqual (PMBY, One), Local0))
                                {
                                    Sleep (0xFA)
                                    Decrement (Local0)
                                }

                                Store (Zero, S12P)
                            }

                            Method (_PS3, 0, NotSerialized)
                            {
                                Store (0x03, S12P)
                            }

                            Method (_PSC, 0, NotSerialized)
                            {
                                Return (S12P)
                            }
                        }

                        Device (P_D1)
                        {
                            Name (_ADR, One)
                            Method (_STA, 0, NotSerialized)
                            {
                                OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                                Field (BAR, AnyAcc, NoLock, Preserve)
                                {
                                            Offset (0x228), 
                                    PSS0,   4, 
                                            Offset (0x229), 
                                    PSS1,   4
                                }

                                If (Not (LEqual (PSS1, Zero)))
                                {
                                    Return (0x0F)
                                }
                                Else
                                {
                                    Return (Zero)
                                }
                            }

                            Name (S12P, Zero)
                            Method (_PS0, 0, NotSerialized)
                            {
                                OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                                Field (BAR, AnyAcc, NoLock, Preserve)
                                {
                                            Offset (0x220), 
                                        ,   7, 
                                    PSBY,   1
                                }

                                Store (0x32, Local0)
                                While (LAnd (LEqual (PSBY, One), Local0))
                                {
                                    Sleep (0xFA)
                                    Decrement (Local0)
                                }

                                Store (Zero, S12P)
                            }

                            Method (_PS3, 0, NotSerialized)
                            {
                                Store (0x03, S12P)
                            }

                            Method (_PSC, 0, NotSerialized)
                            {
                                Return (S12P)
                            }
                        }
                    }

                    Device (SECD)
                    {
                        Name (_ADR, One)
                        Method (_GTM, 0, NotSerialized)
                        {
                            Return (SPTM)
                        }

                        Method (_STM, 3, NotSerialized)
                        {
                        }

                        Name (SECS, Zero)
                        Method (_PS0, 0, NotSerialized)
                        {
                            OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                            Field (BAR, AnyAcc, NoLock, Preserve)
                            {
                                        Offset (0x1A0), 
                                    ,   7, 
                                SMBY,   1, 
                                        Offset (0x1A8), 
                                SMS0,   4, 
                                        Offset (0x1A9), 
                                SMS1,   4, 
                                        Offset (0x2A0), 
                                    ,   7, 
                                SSBY,   1, 
                                        Offset (0x2A8), 
                                SSS0,   4, 
                                        Offset (0x2A9), 
                                SSS1,   4, 
                                        Offset (0x2AC)
                            }

                            If (LOr (LEqual (OSTY, 0x06), LEqual (OSTY, 0x04)))
                            {
                                If (SMS1)
                                {
                                    Store (0x32, Local0)
                                    While (LAnd (LEqual (SMBY, One), Local0))
                                    {
                                        Sleep (0xFA)
                                        Decrement (Local0)
                                    }
                                }

                                If (SSS1)
                                {
                                    Store (0x32, Local0)
                                    While (LAnd (LEqual (SSBY, One), Local0))
                                    {
                                        Sleep (0xFA)
                                        Decrement (Local0)
                                    }
                                }
                            }

                            Store (Zero, SECS)
                        }

                        Method (_PS3, 0, NotSerialized)
                        {
                            Store (0x03, SECS)
                        }

                        Method (_PSC, 0, NotSerialized)
                        {
                            Return (SECS)
                        }

                        Device (S_D0)
                        {
                            Name (_ADR, Zero)
                            Method (_STA, 0, NotSerialized)
                            {
                                OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                                Field (BAR, AnyAcc, NoLock, Preserve)
                                {
                                            Offset (0x1A8), 
                                    SMS0,   4, 
                                            Offset (0x1A9), 
                                    SMS1,   4
                                }

                                If (Not (LEqual (SMS1, Zero)))
                                {
                                    Return (0x0F)
                                }
                                Else
                                {
                                    Return (Zero)
                                }
                            }

                            Name (S12P, Zero)
                            Method (_PS0, 0, NotSerialized)
                            {
                                OperationRegion (BAR, SystemMemory, STB5, 0x1000)
                                Field (BAR, AnyAcc, NoLock, Preserve)
                                {
                                            Offset (0x1A0), 
                                        ,   7, 
                                    SMBY,   1
                                }

                                Store (0x32, Local0)
                                While (LAnd (LEqual (SMBY, One), Local0))
                                {
                                    Sleep (0xFA)
                                    Decrement (Local0)
                                }

                                Store (Zero, S12P)
                            }

                            Method (_PS3, 0, NotSerialized)
                            {
                                Store (0x03, S12P)
                            }

                            Method (_PSC, 0, NotSerialized)
                            {
                                Return (S12P)
                            }
                        }

                        Device (S_D1)
                        {
                            Name (_ADR, One)
                            Method (_STA, 0, NotSerialized)
                            {
                                OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                                Field (BAR, AnyAcc, NoLock, Preserve)
                                {
                                            Offset (0x2A8), 
                                    SSS0,   4, 
                                            Offset (0x2A9), 
                                    SSS1,   4
                                }

                                If (Not (LEqual (SSS1, Zero)))
                                {
                                    Return (0x0F)
                                }
                                Else
                                {
                                    Return (Zero)
                                }
                            }

                            Name (S12P, Zero)
                            Method (_PS0, 0, NotSerialized)
                            {
                                OperationRegion (BAR, SystemMemory, STB5, 0x0400)
                                Field (BAR, AnyAcc, NoLock, Preserve)
                                {
                                            Offset (0x2A0), 
                                        ,   7, 
                                    SSBY,   1
                                }

                                Store (0x32, Local0)
                                While (LAnd (LEqual (SSBY, One), Local0))
                                {
                                    Sleep (0xFA)
                                    Decrement (Local0)
                                }

                                Store (Zero, S12P)
                            }

                            Method (_PS3, 0, NotSerialized)
                            {
                                Store (0x03, S12P)
                            }

                            Method (_PSC, 0, NotSerialized)
                            {
                                Return (S12P)
                            }
                        }
                    }
                }
            }

            Device (PCE9)
            {
                Name (_ADR, 0x00090000)
                Scope (^RS78)
                {
                    OperationRegion (NBMS, PCI_Config, 0x60, 0x08)
                    Field (NBMS, DWordAcc, NoLock, Preserve)
                    {
                        MIDX,   32, 
                        MIDR,   32
                    }

                    Mutex (NBMM, 0x00)
                    Method (NBMR, 1, NotSerialized)
                    {
                        Acquire (NBMM, 0xFFFF)
                        And (Arg0, 0x7F, Local0)
                        Store (Local0, MIDX)
                        Store (MIDR, Local0)
                        Store (0x7F, MIDX)
                        Release (NBMM)
                        Return (Local0)
                    }

                    Method (NBMW, 2, NotSerialized)
                    {
                        Acquire (NBMM, 0xFFFF)
                        And (Arg0, 0x7F, Local0)
                        Or (Local0, 0x80, Local0)
                        Store (Local0, MIDX)
                        Store (Arg1, MIDR)
                        Store (And (Local0, 0x7F, Local0), MIDX)
                        Release (NBMM)
                    }

                    Method (XPTR, 2, NotSerialized)
                    {
                        If (LOr (LLess (Arg0, 0x02), LGreater (Arg0, 0x0A)))
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            Store (One, Local0)
                            If (LLess (Arg0, 0x04))
                            {
                                Add (Arg0, 0x02, Local1)
                            }
                            Else
                            {
                                If (LLess (Arg0, 0x08))
                                {
                                    Add (Arg0, 0x11, Local1)
                                }
                                Else
                                {
                                    Subtract (Arg0, 0x05, Local1)
                                }
                            }

                            ShiftLeft (Local0, Local1, Local0)
                            If (LLess (Arg0, 0x08))
                            {
                                Store (NBMR (0x08), Local2)
                                If (Arg1)
                                {
                                    And (Local2, Not (Local0), Local2)
                                }
                                Else
                                {
                                    Or (Local2, Local0, Local2)
                                }

                                NBMW (0x08, Local2)
                            }
                            Else
                            {
                                Store (NBMR (0x2D), Local2)
                                If (Arg1)
                                {
                                    And (Local2, Not (Local0), Local2)
                                }
                                Else
                                {
                                    Or (Local2, Local0, Local2)
                                }

                                NBMW (0x2D, Local2)
                            }

                            Return (Ones)
                        }
                    }
                }

                Scope (\_SB.PCI0.PCE9)
                {
                    OperationRegion (GPEB, SystemIO, PMBS, 0x40)
                    Field (GPEB, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0x20), 
                            ,   28, 
                        GPM6,   1, 
                            ,   1, 
                        GP30,   1
                    }

                    OperationRegion (XPCB, PCI_Config, 0x58, 0x24)
                    Field (XPCB, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0x10), 
                        LKCN,   16, 
                        LKST,   16, 
                                Offset (0x1A), 
                        SLST,   16
                    }

                    OperationRegion (XPRI, PCI_Config, 0xE0, 0x08)
                    Field (XPRI, ByteAcc, NoLock, Preserve)
                    {
                        XPIR,   32, 
                        XPID,   32
                    }

                    OperationRegion (XPEX, SystemMemory, 0xE0048100, 0x0100)
                    Field (XPEX, DWordAcc, NoLock, Preserve)
                    {
                                Offset (0x18), 
                        VC0,    32
                    }

                    Method (XPDL, 0, NotSerialized)
                    {
                        Store (Zero, Local0)
                        If (And (VC0, 0x00020000))
                        {
                            Store (Ones, Local0)
                        }

                        Return (Local0)
                    }

                    Method (XPRD, 1, NotSerialized)
                    {
                        Store (Arg0, XPIR)
                        Store (XPID, Local0)
                        Store (Zero, XPIR)
                        Return (Local0)
                    }

                    Method (XPWR, 2, NotSerialized)
                    {
                        Store (Arg0, XPIR)
                        Store (Arg1, XPID)
                        Store (Zero, XPIR)
                    }

                    Method (XPRT, 0, NotSerialized)
                    {
                        Store (XPRD (0xA2), Local0)
                        And (Local0, 0xFFFFFFF8, Local0)
                        ShiftRight (Local0, 0x04, Local1)
                        And (Local1, 0x07, Local1)
                        Or (Local0, Local1, Local0)
                        Or (Local0, 0x0100, Local0)
                        XPWR (0xA2, Local0)
                    }

                    Method (XPR2, 0, NotSerialized)
                    {
                        Store (LKCN, Local0)
                        And (Local0, 0xFFFFFFDF, Local0)
                        Store (Local0, LKCN)
                        Or (Local0, 0x20, Local0)
                        Store (Local0, LKCN)
                        Store (0x64, Local1)
                        Store (One, Local2)
                        While (LAnd (Local1, Local2))
                        {
                            Sleep (One)
                            Store (LKST, Local3)
                            If (And (Local3, 0x0800))
                            {
                                Decrement (Local1)
                            }
                            Else
                            {
                                Store (Zero, Local2)
                            }
                        }

                        And (Local0, 0xFFFFFFDF, Local0)
                        Store (Local0, LKCN)
                        If (LNot (Local2))
                        {
                            Return (Ones)
                        }
                        Else
                        {
                            Return (Zero)
                        }
                    }

                    Method (AGPE, 0, NotSerialized)
                    {
                        Sleep (0x01F4)
                        If (And (SLST, 0x40))
                        {
                            Store (One, GM6P)
                        }
                        Else
                        {
                            Store (Zero, GM6P)
                        }

                        Store (0x08, SLST)
                    }

                    Method (NURM, 0, NotSerialized)
                    {
                        Sleep (0x0A)
                        Store (0x05, Local5)
                        While (Local5)
                        {
                            Store (XPRD (0xA5), Local6)
                            And (Local6, 0x3F, Local6)
                            If (LLessEqual (Local6, 0x04))
                            {
                                Store (Zero, Local5)
                            }
                            Else
                            {
                                Sleep (0x05)
                                Decrement (Local5)
                            }
                        }

                        ^^RS78.XPTR (0x09, Zero)
                    }

                    Name (HPOK, Zero)
                    Method (NUPI, 0, NotSerialized)
                    {
                        Store (Zero, HPOK)
                        Sleep (0xC8)
                        ^^RS78.XPTR (0x09, One)
                        Sleep (0x14)
                        Store (0xC8, Local4)
                        While (Local4)
                        {
                            If (And (SLST, 0x08))
                            {
                                Store (Zero, Local4)
                            }
                            Else
                            {
                                Sleep (One)
                                Decrement (Local4)
                            }
                        }

                        If (And (SLST, 0x08))
                        {
                            Store (0xC8, Local4)
                            While (Local4)
                            {
                                If (And (SLST, 0x40))
                                {
                                    Store (Zero, Local4)
                                }
                                Else
                                {
                                    Sleep (One)
                                    Decrement (Local4)
                                }
                            }
                        }

                        If (And (SLST, 0x40))
                        {
                            Store (0x64, Local4)
                            While (Local4)
                            {
                                Store (XPRD (0xA5), Local6)
                                And (Local6, 0x3F, Local6)
                                If (LEqual (Local6, 0x10))
                                {
                                    Store (XPDL (), Local7)
                                    If (Local7)
                                    {
                                        XPRT ()
                                        Sleep (0x05)
                                        Decrement (Local4)
                                    }
                                    Else
                                    {
                                        Store (One, HPOK)
                                        Store (Zero, Local4)
                                    }
                                }
                                Else
                                {
                                    Sleep (0x05)
                                    Decrement (Local4)
                                }
                            }
                        }
                    }

                    Name (EJ0F, Zero)
                    Device (NCRD)
                    {
                        Name (_ADR, Zero)
                        OperationRegion (PCFG, PCI_Config, Zero, 0x08)
                        Field (PCFG, DWordAcc, NoLock, Preserve)
                        {
                            DVID,   32, 
                            PCMS,   32
                        }

                        Method (SEJ0, 1, NotSerialized)
                        {
                            Store (One, EJ0F)
                        }

                        Method (SSTA, 0, NotSerialized)
                        {
                            If (GM6P)
                            {
                                If (EJ0F)
                                {
                                    If (CondRefOf (_OSI, Local1))
                                    {
                                        If (_OSI ("Windows 2006"))
                                        {
                                            Return (One)
                                        }
                                    }

                                    Return (Zero)
                                }
                                Else
                                {
                                    Return (0x0F)
                                }
                            }

                            Return (Zero)
                        }
                    }
                }

                Scope (\_GPE)
                {
                    Method (_L1C, 0, NotSerialized)
                    {
                        Sleep (0x14)
                        Store (Zero, \_SB.PCI0.PCE9.EJ0F)
                        If (GM6P)
                        {
                            \_SB.PCI0.PCE9.NURM ()
                        }
                        Else
                        {
                            \_SB.PCI0.SBRG.RSPE ()
                            Store (0x03, Local0)
                            While (Local0)
                            {
                                \_SB.PCI0.PCE9.NUPI ()
                                If (\_SB.PCI0.PCE9.HPOK)
                                {
                                    Store (Zero, Local0)
                                }
                                Else
                                {
                                    Store (0x08, \_SB.PCI0.PCE9.SLST)
                                    \_SB.PCI0.SBRG.RSPE ()
                                    Decrement (Local0)
                                }
                            }
                        }

                        \_SB.PCI0.PCE9.AGPE ()
                        Notify (\_SB.PCI0.PCE9, Zero)
                    }
                }

                Scope (^SBRG)
                {
                    Method (RSPE, 0, NotSerialized)
                    {
                        ENFG (0x0A)
                        And (OPT2, 0xFB, OPT2)
                        Sleep (0x05)
                        Or (OPT2, 0x04, OPT2)
                        EXFG ()
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x18, 0x04))
                }

                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR09)
                    }

                    Return (PR09)
                }
            }

            Device (SMBS)
            {
                Name (_ADR, 0x00140000)
                OperationRegion (SMBS, PCI_Config, Zero, 0x0100)
                Field (SMBS, AnyAcc, NoLock, Preserve)
                {
                            Offset (0x08), 
                    REV,    8
                }

                OperationRegion (WIDE, PCI_Config, 0xAD, One)
                Field (WIDE, AnyAcc, NoLock, Preserve)
                {
                    DUM1,   4, 
                    SOPT,   1
                }
            }
        }

        Scope (\_GPE)
        {
            Method (_L18, 0, NotSerialized)
            {
                Notify (\_SB.PCI0.PCE2, 0x02)
                Notify (\_SB.PCI0.PCE3, 0x02)
                Notify (\_SB.PCI0.PCE4, 0x02)
                Notify (\_SB.PCI0.PCE5, 0x02)
                Notify (\_SB.PCI0.PCE6, 0x02)
                Notify (\_SB.PCI0.PCE7, 0x02)
                Notify (\_SB.PCI0.PCEA, 0x02)
                Notify (\_SB.PCI0.PCEB, 0x02)
                Notify (\_SB.PCI0.PCEC, 0x02)
                Notify (\_SB.PCI0.PCE9, 0x02)
                Notify (\_SB.PWRB, 0x02)
            }

            Method (_L1B, 0, NotSerialized)
            {
                Notify (\_SB.PCI0.SBAZ, 0x02)
                Notify (\_SB.PWRB, 0x02)
            }

            Method (_L03, 0, NotSerialized)
            {
                \_SB.PCI0.SBRG.SIOH ()
            }

            Method (_L10, 0, NotSerialized)
            {
                \_SB.PCI0.SBRG.SIOH ()
            }

            Method (_L04, 0, NotSerialized)
            {
                Notify (\_SB.PCI0.P0PC, 0x02)
                Notify (\_SB.PWRB, 0x02)
            }

            Method (_L0B, 0, NotSerialized)
            {
                Notify (\_SB.PCI0.UHC1, 0x02)
                Notify (\_SB.PCI0.UHC2, 0x02)
                Notify (\_SB.PCI0.UHC3, 0x02)
                Notify (\_SB.PCI0.USB4, 0x02)
                Notify (\_SB.PCI0.UHC5, 0x02)
                Notify (\_SB.PCI0.UHC6, 0x02)
                Notify (\_SB.PCI0.UHC7, 0x02)
                Notify (\_SB.PWRB, 0x02)
            }
        }

        Device (PWRB)
        {
            Name (_HID, EisaId ("PNP0C0C"))
            Name (_UID, 0xAA)
            Name (_STA, 0x0B)
        }
    }

    Scope (_SB)
    {
        OperationRegion (PIRQ, SystemIO, 0x0C00, 0x02)
        Field (PIRQ, ByteAcc, NoLock, Preserve)
        {
            PIDX,   8, 
            PDAT,   8
        }

        IndexField (PIDX, PDAT, ByteAcc, NoLock, Preserve)
        {
            PIRA,   8, 
            PIRB,   8, 
            PIRC,   8, 
            PIRD,   8, 
            PIRS,   8, 
                    Offset (0x09), 
            PIRE,   8, 
            PIRF,   8, 
            PIRG,   8, 
            PIRH,   8
        }

        Method (IRQC, 0, NotSerialized)
        {
            Store (Zero, PIRA)
            Store (Zero, PIRB)
            Store (Zero, PIRC)
            Store (Zero, PIRD)
            Store (Zero, PIRE)
            Store (Zero, PIRF)
            Store (Zero, PIRG)
            Store (Zero, PIRH)
        }

        Name (BUFA, ResourceTemplate ()
        {
            IRQ (Level, ActiveLow, Shared, )
                {15}
        })
        Name (IPRA, ResourceTemplate ()
        {
            IRQ (Level, ActiveLow, Shared, )
                {5,10,11}
        })
        Name (IPRB, ResourceTemplate ()
        {
            IRQ (Level, ActiveLow, Shared, )
                {5,10,11}
        })
        Name (IPRC, ResourceTemplate ()
        {
            IRQ (Level, ActiveLow, Shared, )
                {5,10,11}
        })
        Name (IPRD, ResourceTemplate ()
        {
            IRQ (Level, ActiveLow, Shared, )
                {5,10,11}
        })
        Device (LNKA)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, One)
            Method (_STA, 0, NotSerialized)
            {
                If (PIRA)
                {
                    Return (0x0B)
                }
                Else
                {
                    Return (0x09)
                }
            }

            Method (_PRS, 0, NotSerialized)
            {
                Return (PRSA)
            }

            Method (_DIS, 0, NotSerialized)
            {
                Store (Zero, PIRA)
            }

            Method (_CRS, 0, NotSerialized)
            {
                CreateWordField (BUFA, One, IRQX)
                ShiftLeft (One, PIRA, IRQX)
                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, One, IRA)
                FindSetRightBit (IRA, Local0)
                Decrement (Local0)
                Store (Local0, PIRA)
            }
        }

        Device (LNKB)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x02)
            Method (_STA, 0, NotSerialized)
            {
                If (PIRB)
                {
                    Return (0x0B)
                }
                Else
                {
                    Return (0x09)
                }
            }

            Method (_PRS, 0, NotSerialized)
            {
                Return (PRSB)
            }

            Method (_DIS, 0, NotSerialized)
            {
                Store (Zero, PIRB)
            }

            Method (_CRS, 0, NotSerialized)
            {
                CreateWordField (BUFA, One, IRQX)
                ShiftLeft (One, PIRB, IRQX)
                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, One, IRA)
                FindSetRightBit (IRA, Local0)
                Decrement (Local0)
                Store (Local0, PIRB)
            }
        }

        Device (LNKC)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x03)
            Method (_STA, 0, NotSerialized)
            {
                If (PIRC)
                {
                    Return (0x0B)
                }
                Else
                {
                    Return (0x09)
                }
            }

            Method (_PRS, 0, NotSerialized)
            {
                Return (PRSC)
            }

            Method (_DIS, 0, NotSerialized)
            {
                Store (Zero, PIRC)
            }

            Method (_CRS, 0, NotSerialized)
            {
                CreateWordField (BUFA, One, IRQX)
                ShiftLeft (One, PIRC, IRQX)
                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, One, IRA)
                FindSetRightBit (IRA, Local0)
                Decrement (Local0)
                Store (Local0, PIRC)
            }
        }

        Device (LNKD)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x04)
            Method (_STA, 0, NotSerialized)
            {
                If (PIRD)
                {
                    Return (0x0B)
                }
                Else
                {
                    Return (0x09)
                }
            }

            Method (_PRS, 0, NotSerialized)
            {
                Return (PRSD)
            }

            Method (_DIS, 0, NotSerialized)
            {
                Store (Zero, PIRD)
            }

            Method (_CRS, 0, NotSerialized)
            {
                CreateWordField (BUFA, One, IRQX)
                ShiftLeft (One, PIRD, IRQX)
                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, One, IRA)
                FindSetRightBit (IRA, Local0)
                Decrement (Local0)
                Store (Local0, PIRD)
            }
        }

        Device (LNKE)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x05)
            Method (_STA, 0, NotSerialized)
            {
                If (PIRE)
                {
                    Return (0x0B)
                }
                Else
                {
                    Return (0x09)
                }
            }

            Method (_PRS, 0, NotSerialized)
            {
                Return (PRSE)
            }

            Method (_DIS, 0, NotSerialized)
            {
                Store (Zero, PIRE)
            }

            Method (_CRS, 0, NotSerialized)
            {
                CreateWordField (BUFA, One, IRQX)
                ShiftLeft (One, PIRE, IRQX)
                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, One, IRA)
                FindSetRightBit (PIRE, Local0)
                Decrement (Local0)
                Store (Local0, PIRE)
            }
        }

        Device (LNKF)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x02)
            Method (_STA, 0, NotSerialized)
            {
                If (PIRF)
                {
                    Return (0x0B)
                }
                Else
                {
                    Return (0x09)
                }
            }

            Method (_PRS, 0, NotSerialized)
            {
                Return (PRSF)
            }

            Method (_DIS, 0, NotSerialized)
            {
                Store (Zero, PIRF)
            }

            Method (_CRS, 0, NotSerialized)
            {
                CreateWordField (BUFA, One, IRQX)
                ShiftLeft (One, PIRF, IRQX)
                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, One, IRA)
                FindSetRightBit (IRA, Local0)
                Decrement (Local0)
                Store (Local0, PIRF)
            }
        }

        Device (LNKG)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x03)
            Method (_STA, 0, NotSerialized)
            {
                If (PIRG)
                {
                    Return (0x0B)
                }
                Else
                {
                    Return (0x09)
                }
            }

            Method (_PRS, 0, NotSerialized)
            {
                Return (PRSG)
            }

            Method (_DIS, 0, NotSerialized)
            {
                Store (Zero, PIRG)
            }

            Method (_CRS, 0, NotSerialized)
            {
                CreateWordField (BUFA, One, IRQX)
                ShiftLeft (One, PIRG, IRQX)
                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, One, IRA)
                FindSetRightBit (IRA, Local0)
                Decrement (Local0)
                Store (Local0, PIRG)
            }
        }

        Device (LNKH)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x04)
            Method (_STA, 0, NotSerialized)
            {
                If (PIRH)
                {
                    Return (0x0B)
                }
                Else
                {
                    Return (0x09)
                }
            }

            Method (_PRS, 0, NotSerialized)
            {
                Return (PRSH)
            }

            Method (_DIS, 0, NotSerialized)
            {
                Store (Zero, PIRH)
            }

            Method (_CRS, 0, NotSerialized)
            {
                CreateWordField (BUFA, One, IRQX)
                ShiftLeft (One, PIRH, IRQX)
                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, One, IRA)
                FindSetRightBit (IRA, Local0)
                Decrement (Local0)
                Store (Local0, PIRH)
            }
        }
    }

    Scope (_SB)
    {
        Name (XCPD, Zero)
        Name (XNPT, One)
        Name (XCAP, 0x02)
        Name (XDCP, 0x04)
        Name (XDCT, 0x08)
        Name (XDST, 0x0A)
        Name (XLCP, 0x0C)
        Name (XLCT, 0x10)
        Name (XLST, 0x12)
        Name (XSCP, 0x14)
        Name (XSCT, 0x18)
        Name (XSST, 0x1A)
        Name (XRCT, 0x1C)
        Mutex (MUTE, 0x00)
        Method (RBPE, 1, NotSerialized)
        {
            Acquire (MUTE, 0x03E8)
            Add (Arg0, PCIB, Local0)
            OperationRegion (PCFG, SystemMemory, Local0, One)
            Field (PCFG, ByteAcc, NoLock, Preserve)
            {
                XCFG,   8
            }

            Release (MUTE)
            Return (XCFG)
        }

        Method (RWPE, 1, NotSerialized)
        {
            Acquire (MUTE, 0x03E8)
            And (Arg0, 0xFFFFFFFE, Arg0)
            Add (Arg0, PCIB, Local0)
            OperationRegion (PCFG, SystemMemory, Local0, 0x02)
            Field (PCFG, WordAcc, NoLock, Preserve)
            {
                XCFG,   16
            }

            Release (MUTE)
            Return (XCFG)
        }

        Method (RDPE, 1, NotSerialized)
        {
            Acquire (MUTE, 0x03E8)
            And (Arg0, 0xFFFFFFFC, Arg0)
            Add (Arg0, PCIB, Local0)
            OperationRegion (PCFG, SystemMemory, Local0, 0x04)
            Field (PCFG, DWordAcc, NoLock, Preserve)
            {
                XCFG,   32
            }

            Release (MUTE)
            Return (XCFG)
        }

        Method (WBPE, 2, NotSerialized)
        {
            Acquire (MUTE, 0x0FFF)
            Add (Arg0, PCIB, Local0)
            OperationRegion (PCFG, SystemMemory, Local0, One)
            Field (PCFG, ByteAcc, NoLock, Preserve)
            {
                XCFG,   8
            }

            Store (Arg1, XCFG)
            Release (MUTE)
        }

        Method (WWPE, 2, NotSerialized)
        {
            Acquire (MUTE, 0x03E8)
            And (Arg0, 0xFFFFFFFE, Arg0)
            Add (Arg0, PCIB, Local0)
            OperationRegion (PCFG, SystemMemory, Local0, 0x02)
            Field (PCFG, WordAcc, NoLock, Preserve)
            {
                XCFG,   16
            }

            Store (Arg1, XCFG)
            Release (MUTE)
        }

        Method (WDPE, 2, NotSerialized)
        {
            Acquire (MUTE, 0x03E8)
            And (Arg0, 0xFFFFFFFC, Arg0)
            Add (Arg0, PCIB, Local0)
            OperationRegion (PCFG, SystemMemory, Local0, 0x04)
            Field (PCFG, DWordAcc, NoLock, Preserve)
            {
                XCFG,   32
            }

            Store (Arg1, XCFG)
            Release (MUTE)
        }

        Method (RWDP, 3, NotSerialized)
        {
            Acquire (MUTE, 0x03E8)
            And (Arg0, 0xFFFFFFFC, Arg0)
            Add (Arg0, PCIB, Local0)
            OperationRegion (PCFG, SystemMemory, Local0, 0x04)
            Field (PCFG, DWordAcc, NoLock, Preserve)
            {
                XCFG,   32
            }

            And (XCFG, Arg2, Local1)
            Or (Local1, Arg1, XCFG)
            Release (MUTE)
        }

        Method (RPME, 1, NotSerialized)
        {
            Add (Arg0, 0x84, Local0)
            Store (RDPE (Local0), Local1)
            If (LEqual (Local1, Ones))
            {
                Return (Zero)
            }
            Else
            {
                If (LAnd (Local1, 0x00010000))
                {
                    WDPE (Local0, And (Local1, 0x00010000))
                    Return (One)
                }

                Return (Zero)
            }
        }
    }

    If (OSCF)
    {
        Scope (_SB.PCI0)
        {
            Name (SUPP, Zero)
            Name (CTRL, Zero)
            Method (_OSC, 4, NotSerialized)
            {
                If (LEqual (Arg0, Buffer (0x10)
                        {
                            /* 0000 */    0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40, 
                            /* 0008 */    0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66
                        }))
                {
                    CreateDWordField (Arg3, Zero, CDW1)
                    CreateDWordField (Arg3, 0x04, CDW2)
                    CreateDWordField (Arg3, 0x08, CDW3)
                    Store (CDW2, SUPP)
                    Store (CDW3, CTRL)
                    And (CTRL, 0x1E, CTRL)
                    And (CTRL, 0x1D, CTRL)
                    And (CTRL, 0x1B, CTRL)
                    If (Not (And (CDW1, One)))
                    {
                        If (And (CTRL, One)) {}
                        If (And (CTRL, 0x04))
                        {
                            Store (One, EPNM)
                            Store (One, DPPF)
                            Store (One, FNGS)
                        }
                        Else
                        {
                            Store (Zero, EPNM)
                            Store (Zero, DPPF)
                            Store (Zero, FNGS)
                        }

                        If (And (CTRL, 0x10)) {}
                    }

                    If (LNotEqual (Arg1, One))
                    {
                        Or (CDW1, 0x08, CDW1)
                    }

                    If (LNotEqual (CDW3, CTRL))
                    {
                        Or (CDW1, 0x10, CDW1)
                    }

                    Store (CTRL, CDW3)
                    Return (Arg3)
                }
                Else
                {
                    Or (CDW1, 0x04, CDW1)
                    Return (Arg3)
                }
            }
        }
    }

    Method (W2KW, 1, NotSerialized)
    {
        If (LEqual (OSFL (), 0x04))
        {
            Sleep (0x0BB8)
        }
    }

    Scope (_SB.PCI0)
    {
        Method (_INI, 0, NotSerialized)
        {
            If (LLessEqual (RVID, 0x3A))
            {
                Store (Zero, PWDE)
            }
        }
    }

    Scope (_SB)
    {
        Scope (PCI0)
        {
            Name (CRS, ResourceTemplate ()
            {
                WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
                    0x0000,             // Granularity
                    0x0000,             // Range Minimum
                    0x00FF,             // Range Maximum
                    0x0000,             // Translation Offset
                    0x0100,             // Length
                    ,, )
                IO (Decode16,
                    0x0CF8,             // Range Minimum
                    0x0CF8,             // Range Maximum
                    0x01,               // Alignment
                    0x08,               // Length
                    )
                WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                    0x0000,             // Granularity
                    0x0000,             // Range Minimum
                    0x0CF7,             // Range Maximum
                    0x0000,             // Translation Offset
                    0x0CF8,             // Length
                    ,, , TypeStatic)
                WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                    0x0000,             // Granularity
                    0x0D00,             // Range Minimum
                    0xFFFF,             // Range Maximum
                    0x0000,             // Translation Offset
                    0xF300,             // Length
                    ,, , TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000A0000,         // Range Minimum
                    0x000BFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00020000,         // Length
                    ,, , AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000C0000,         // Range Minimum
                    0x000DFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00020000,         // Length
                    ,, _Y1A, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x00000000,         // Range Minimum
                    0x00000000,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00000000,         // Length
                    ,, _Y1B, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x00000000,         // Range Minimum
                    0x00000000,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00000000,         // Length
                    ,, _Y1C, AddressRangeMemory, TypeStatic)
            })
            CreateDWordField (CRS, \_SB.PCI0._Y1A._MIN, MIN5)
            CreateDWordField (CRS, \_SB.PCI0._Y1A._MAX, MAX5)
            CreateDWordField (CRS, \_SB.PCI0._Y1A._LEN, LEN5)
            CreateDWordField (CRS, \_SB.PCI0._Y1B._MIN, MIN6)
            CreateDWordField (CRS, \_SB.PCI0._Y1B._MAX, MAX6)
            CreateDWordField (CRS, \_SB.PCI0._Y1B._LEN, LEN6)
            CreateDWordField (CRS, \_SB.PCI0._Y1C._MIN, MIN7)
            CreateDWordField (CRS, \_SB.PCI0._Y1C._MAX, MAX7)
            CreateDWordField (CRS, \_SB.PCI0._Y1C._LEN, LEN7)
            Method (_CRS, 0, NotSerialized)
            {
                Store (MG1L, Local0)
                If (Local0)
                {
                    Store (MG1B, MIN5)
                    Store (MG1L, LEN5)
                    Add (MIN5, Decrement (Local0), MAX5)
                }

                Store (MG2B, MIN6)
                Store (MG2L, LEN6)
                Store (MG2L, Local0)
                Add (MIN6, Decrement (Local0), MAX6)
                Store (MG3B, MIN7)
                Store (MG3L, LEN7)
                Store (MG3L, Local0)
                Add (MIN7, Decrement (Local0), MAX7)
                Return (CRS)
            }
        }
    }

    Name (WOTB, Zero)
    Name (WSSB, Zero)
    Name (WAXB, Zero)
    Method (_PTS, 1, NotSerialized)
    {
        Store (Arg0, DBG8)
        PTS (Arg0)
        Store (Zero, Index (WAKP, Zero))
        Store (Zero, Index (WAKP, One))
        If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
        {
            Sleep (0x0BB8)
        }

        Store (ASSB, WSSB)
        Store (AOTB, WOTB)
        Store (AAXB, WAXB)
        Store (Arg0, ASSB)
        Store (OSFL (), AOTB)
        Store (Zero, AAXB)
    }

    Method (_WAK, 1, NotSerialized)
    {
        ShiftLeft (Arg0, 0x04, DBG8)
        WAK (Arg0)
        If (ASSB)
        {
            Store (WSSB, ASSB)
            Store (WOTB, AOTB)
            Store (WAXB, AAXB)
        }

        If (DerefOf (Index (WAKP, Zero)))
        {
            Store (Zero, Index (WAKP, One))
        }
        Else
        {
            Store (Arg0, Index (WAKP, One))
        }

        Return (WAKP)
    }

    Scope (\)
    {
        OperationRegion (NCLK, SystemMemory, PCIE, 0x02000000)
        Field (NCLK, AnyAcc, NoLock, Preserve)
        {
                    Offset (0x4C), 
            CLKE,   1, 
                    Offset (0x104C), 
            P4EN,   1, 
            P4NM,   12, 
            P4HI,   12, 
            P4IO,   1, 
                    Offset (0x1050), 
            P5EN,   1, 
            P5NM,   12, 
            P5HI,   12, 
            P5IO,   1, 
                    Offset (0x1054), 
            P6EN,   1, 
            P6NM,   12, 
            P6HI,   12, 
            P6IO,   1, 
                    Offset (0x10B0), 
            P1NM,   12, 
            P1HI,   12, 
            P1EN,   1, 
            P1IO,   1, 
                    Offset (0x10B4), 
            P2NM,   12, 
            P2HI,   12, 
            P2EN,   1, 
            P2IO,   1, 
                    Offset (0x10CC), 
            P3EN,   1, 
            P3NM,   12, 
            P3HI,   12, 
            P3IO,   1
        }

        OperationRegion (SOR1, SystemIO, SBA1, 0x10)
        Field (SOR1, ByteAcc, NoLock, Preserve)
        {
            SMSA,   8, 
            SSSA,   8, 
            SBCA,   8, 
            SHCA,   8, 
            SBAA,   8, 
            SD0A,   8, 
            SD1A,   8, 
            SBDA,   8, 
            SSCA,   8, 
            SMCA,   8, 
            SSEA,   16, 
            SSDA,   16, 
            SMTA,   8
        }

        OperationRegion (SOR2, SystemIO, SBA2, 0x10)
        Field (SOR2, ByteAcc, NoLock, Preserve)
        {
            SMSB,   8, 
            SSSB,   8, 
            SBCB,   8, 
            SHCB,   8, 
            SBAB,   8, 
            SD0B,   8, 
            SD1B,   8, 
            SBDB,   8, 
            SSCB,   8, 
            SMCB,   8, 
            SSEB,   16, 
            SSDB,   16, 
            SMTB,   8
        }

        Mutex (MSMB, 0x00)
        Method (RWBK, 5, NotSerialized)
        {
            Acquire (MSMB, 0xFFFF)
            If (LEqual (Arg0, Zero))
            {
                Store (SMSA, Local0)
                And (Local0, Zero, Local0)
                Or (Local0, 0xFF, Local0)
                Store (Local0, SMSA)
                Sleep (0x02)
                Store (SBAA, Local0)
                And (Local0, Zero, Local0)
                Or (Local0, Arg1, Local0)
                Store (Local0, SBAA)
                Sleep (0x02)
                Store (SHCA, Local0)
                And (Local0, Zero, Local0)
                Or (Local0, Arg2, Local0)
                Store (Local0, SHCA)
                Sleep (0x02)
                Store (SBCA, Local0)
                And (Local0, Zero, Local0)
                Or (Local0, 0x14, Local0)
                Store (Local0, SBCA)
                Sleep (0x02)
                Store (SD0A, Local0)
                And (Local0, Zero, Local0)
                Or (Local0, Arg3, Local0)
                Store (Local0, SD0A)
                Sleep (0x02)
                And (Arg1, One, Local1)
                If (LEqual (Local1, Zero))
                {
                    Store (Arg3, Local2)
                    Store (Arg2, Local3)
                    While (Local2)
                    {
                        Store (DerefOf (Index (Arg4, Local3)), Local4)
                        Store (Local4, SBDA)
                        Sleep (0x02)
                        Decrement (Local2)
                        Increment (Local3)
                    }
                }

                Store (SBCA, Local0)
                And (Local0, Zero, Local0)
                Or (Local0, 0x54, Local0)
                Store (Local0, SBCA)
                Sleep (0x02)
                Store (SMSA, Local1)
                While (LNot (And (Local1, One)))
                {
                    Store (SMSA, Local1)
                    If (And (Local1, 0x1C))
                    {
                        Release (MSMB)
                        Return (One)
                    }

                    If (And (Local1, 0x02))
                    {
                        Break
                    }

                    Sleep (0x02)
                }

                Store (SMSA, Local1)
                While (And (Local1, One))
                {
                    Store (SMSA, Local1)
                    Sleep (0x02)
                }

                And (Arg1, One, Local1)
                If (Local1)
                {
                    Store (Arg2, Local1)
                    Store (Arg3, Local2)
                    While (Local2)
                    {
                        Store (SBDA, Index (Arg4, Local1))
                        Sleep (0x02)
                        Increment (Local1)
                        Decrement (Local2)
                    }
                }
            }

            If (LEqual (Arg0, One)) {}
            Release (MSMB)
            Return (Zero)
        }

        OperationRegion (IOOR, SystemIO, SIOP, 0x02)
        Field (IOOR, ByteAcc, NoLock, Preserve)
        {
            IOID,   8, 
            IODT,   8
        }

        Method (RSIO, 1, NotSerialized)
        {
            Store (Arg0, IOID)
            Return (IODT)
        }

        Method (WSIO, 2, NotSerialized)
        {
            Store (Arg0, IOID)
            Store (Arg1, IODT)
        }

        Method (APTS, 1, NotSerialized)
        {
            \AOD.APTS (Arg0)
        }

        Method (AWAK, 1, NotSerialized)
        {
            \AOD.AWAK (Arg0)
        }

        Device (AOD)
        {
            Name (DBG, One)
            Name (OBID, Package (0x13)
            {
                0x09, 
                0x01010000, 
                0x01020000, 
                0x01030000, 
                0x02010000, 
                0x02020000, 
                0x02030000, 
                0x02040000, 
                0x02050000, 
                0x02060000, 
                "CPU Clock", 
                "PCIE Clock", 
                "South Bridge Clock", 
                "Memory VDDQ", 
                "Memory VTT", 
                "CPU VDDC", 
                "NB Core Voltage", 
                "NB PCIE Voltage", 
                "CPU HT Voltage"
            })
            Name (OBIT, Package (0x3C)
            {
                0x01010000, 
                0x000249F0, 
                0x00061A80, 
                Zero, 
                0x03E8, 
                Zero, 
                0x01020000, 
                0x000124F8, 
                0x00030D40, 
                Zero, 
                0x03E8, 
                Zero, 
                0x01030000, 
                0x00015F90, 
                0x000249F0, 
                Zero, 
                0x03E8, 
                Zero, 
                0x02010000, 
                0x00013BA0, 
                0x000442A0, 
                Zero, 
                0x1360, 
                Zero, 
                0x02020000, 
                Zero, 
                Zero, 
                Zero, 
                0x03E8, 
                Zero, 
                0x02030000, 
                0x00023AB4, 
                0x00033644, 
                Zero, 
                0x0284, 
                Zero, 
                0x02040000, 
                0x00018768, 
                0x0001D8A8, 
                Zero, 
                0x0A28, 
                Zero, 
                0x02050000, 
                0x00018768, 
                0x0001D8A8, 
                Zero, 
                0x0A28, 
                Zero, 
                0x02060000, 
                0x00018768, 
                0x0001D8A8, 
                Zero, 
                0x0A28, 
                Zero, 
                Zero, 
                Zero, 
                Zero, 
                Zero, 
                Zero, 
                Zero
            })
            Method (BM01, 0, NotSerialized)
            {
            }

            Method (XINI, 0, NotSerialized)
            {
            }

            Method (EM01, 0, NotSerialized)
            {
            }

            Method (BM05, 1, NotSerialized)
            {
            }

            Method (EM05, 1, NotSerialized)
            {
            }

            Method (HM06, 0, NotSerialized)
            {
            }

            Method (HM07, 1, NotSerialized)
            {
            }

            Name (ID01, Zero)
            Name (ID02, Zero)
            Method (SOID, 1, NotSerialized)
            {
                ShiftRight (Arg0, 0x18, ID01)
                ShiftRight (And (Arg0, 0x00FF0000), 0x10, ID02)
                Return (Zero)
            }

            Method (WROW, 4, NotSerialized)
            {
                Name (IFPK, Package (0x06)
                {
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero
                })
                CreateDWordField (Arg0, Zero, BUF0)
                CreateDWordField (Arg0, 0x04, BUF1)
                CreateDWordField (Arg0, 0x08, BUF2)
                CreateDWordField (Arg0, 0x0C, BUF3)
                CreateDWordField (Arg0, 0x10, BUF4)
                CreateDWordField (Arg0, 0x14, BUF5)
                Store (BUF0, Index (IFPK, Zero))
                Store (BUF1, Index (IFPK, One))
                Store (BUF2, Index (IFPK, 0x02))
                Store (BUF3, Index (IFPK, 0x03))
                Store (BUF4, Index (IFPK, 0x04))
                Store (BUF5, Index (IFPK, 0x05))
                Store (Arg3, Local0)
                Store (Zero, Local1)
                While (Local0)
                {
                    Store (DerefOf (Index (IFPK, Local1)), Index (Arg1, Add (Multiply (
                        Arg2, Arg3), Local1)))
                    Increment (Local1)
                    Decrement (Local0)
                }
            }

            Method (GROW, 4, NotSerialized)
            {
                Name (IFPK, Package (0x06)
                {
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero
                })
                Store (Arg3, Local0)
                Store (Zero, Local1)
                While (Local0)
                {
                    Store (DerefOf (Index (Arg0, Add (Multiply (Arg2, Arg3), Local1
                        ))), Index (IFPK, Local1))
                    Increment (Local1)
                    Decrement (Local0)
                }

                CreateDWordField (Arg1, Zero, BUF0)
                CreateDWordField (Arg1, 0x04, BUF1)
                CreateDWordField (Arg1, 0x08, BUF2)
                CreateDWordField (Arg1, 0x0C, BUF3)
                CreateDWordField (Arg1, 0x10, BUF4)
                CreateDWordField (Arg1, 0x14, BUF5)
                Store (DerefOf (Index (IFPK, Zero)), BUF0)
                Store (DerefOf (Index (IFPK, One)), BUF1)
                Store (DerefOf (Index (IFPK, 0x02)), BUF2)
                Store (DerefOf (Index (IFPK, 0x03)), BUF3)
                Store (DerefOf (Index (IFPK, 0x04)), BUF4)
                Store (DerefOf (Index (IFPK, 0x05)), BUF5)
            }

            Method (CPTB, 2, NotSerialized)
            {
                Name (LOID, Zero)
                CreateDWordField (Arg1, Zero, BUF0)
                CreateDWordField (Arg1, 0x04, BUF1)
                CreateDWordField (Arg1, 0x08, BUF2)
                CreateDWordField (Arg1, 0x0C, BUF3)
                CreateDWordField (Arg1, 0x10, BUF4)
                CreateDWordField (Arg1, 0x14, BUF5)
                Store (Zero, Local0)
                Store (DerefOf (Index (OBIT, Local0)), LOID)
                While (LOID)
                {
                    If (LEqual (LOID, Arg0))
                    {
                        Store (DerefOf (Index (OBIT, Add (Local0, Zero))), BUF0)
                        Store (DerefOf (Index (OBIT, Add (Local0, One))), BUF1)
                        Store (DerefOf (Index (OBIT, Add (Local0, 0x02))), BUF2)
                        Store (DerefOf (Index (OBIT, Add (Local0, 0x03))), BUF3)
                        Store (DerefOf (Index (OBIT, Add (Local0, 0x04))), BUF4)
                        Store (DerefOf (Index (OBIT, Add (Local0, 0x05))), BUF5)
                        Break
                    }

                    Add (Local0, 0x06, Local0)
                    Store (DerefOf (Index (OBIT, Local0)), LOID)
                }

                If (LEqual (LOID, Zero))
                {
                    Return (0xFF)
                }

                Return (Zero)
            }

            Method (CBTP, 1, NotSerialized)
            {
                Name (LOID, Zero)
                CreateDWordField (Arg0, Zero, BUF0)
                CreateDWordField (Arg0, 0x04, BUF1)
                CreateDWordField (Arg0, 0x08, BUF2)
                CreateDWordField (Arg0, 0x0C, BUF3)
                CreateDWordField (Arg0, 0x10, BUF4)
                CreateDWordField (Arg0, 0x14, BUF5)
                Store (Zero, Local0)
                Store (DerefOf (Index (OBIT, Local0)), LOID)
                While (LOID)
                {
                    If (LEqual (LOID, BUF0))
                    {
                        Store (BUF0, Index (OBIT, Add (Local0, Zero)))
                        Store (BUF1, Index (OBIT, Add (Local0, One)))
                        Store (BUF2, Index (OBIT, Add (Local0, 0x02)))
                        Store (BUF3, Index (OBIT, Add (Local0, 0x03)))
                        Store (BUF4, Index (OBIT, Add (Local0, 0x04)))
                        Store (BUF5, Index (OBIT, Add (Local0, 0x05)))
                        Break
                    }

                    Add (Local0, 0x06, Local0)
                    Store (DerefOf (Index (OBIT, Local0)), LOID)
                }

                If (LEqual (LOID, Zero))
                {
                    Return (0xFF)
                }

                Return (Zero)
            }

            Method (ABS, 2, NotSerialized)
            {
                If (LLess (Arg0, Arg1))
                {
                    Return (Subtract (Arg1, Arg0))
                }
                Else
                {
                    Return (Subtract (Arg0, Arg1))
                }
            }

            Name (TSBF, Buffer (0x20)
            {
                /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
            })
            Name (GVBF, Buffer (0x05)
            {
                0x00, 0x00, 0x00, 0x00, 0x00
            })
            CreateDWordField (GVBF, Zero, GVB1)
            CreateByteField (GVBF, 0x04, GVB2)
            Name (CPUD, Zero)
            Name (GFXD, Zero)
            Name (SBCD, Zero)
            Method (GETC, 1, NotSerialized)
            {
                If (RWBK (Zero, 0xD3, Zero, 0x20, TSBF))
                {
                    Return (Zero)
                }

                Store (Zero, GVB2)
                Store (CCLK (Arg0), GVB1)
                Return (GVBF)
            }

            Method (SETC, 2, NotSerialized)
            {
                If (RWBK (Zero, 0xD3, Zero, 0x20, TSBF))
                {
                    Return (One)
                }

                If (LEqual (Arg0, One))
                {
                    Store (GDIV (0x14), Local0)
                    Store (GCCX (0x10, 0x11, 0x14, 0xC350), Local1)
                    Store (Multiply (Arg1, Local0), Local2)
                }
                Else
                {
                    If (LEqual (Arg0, 0x02))
                    {
                        Store (GDIV (0x1C), Local0)
                        Store (GCCX (0x1A, 0x1B, 0x1C, 0x37EE), Local1)
                        Store (Multiply (Arg1, Local0), Local2)
                    }
                    Else
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Store (GDIV (0x1F), Local0)
                            Store (GCCX (0x1D, 0x1E, 0x1F, 0xC350), Local1)
                            Store (Multiply (Arg1, Local0), Local2)
                        }
                    }
                }

                Store ("current target ramp step clkid", Debug)
                Store (Local1, Debug)
                Store (Local2, Debug)
                Store (0x07D0, Debug)
                Store (Arg0, Debug)
                Store (RMPC (Local1, Local2, 0x03E8, Arg0), Local3)
                If (Local3)
                {
                    Return (Local3)
                }

                Return (Zero)
            }

            Method (CINI, 0, NotSerialized)
            {
                If (RWBK (Zero, 0xD3, 0x07, 0x09, TSBF))
                {
                    Return (One)
                }

                If (LOr (LNotEqual (And (DerefOf (Index (TSBF, 0x08)), 
                    0x0F), One), LNotEqual (DerefOf (Index (TSBF, 0x07)), 0x75)))
                {
                    Return (0x03)
                }

                Store (0x20, Index (TSBF, 0x0B))
                Or (DerefOf (Index (TSBF, 0x0C)), 0xA0, Index (TSBF, 0x0C
                    ))
                If (RWBK (Zero, 0xD2, 0x0B, 0x02, TSBF))
                {
                    Return (One)
                }

                Return (Zero)
            }

            Method (GCCX, 4, NotSerialized)
            {
                And (DerefOf (Index (TSBF, Arg2)), 0x80, Local0)
                ShiftRight (Local0, 0x07, Local0)
                And (DerefOf (Index (TSBF, Arg0)), 0xC0, Local1)
                ShiftRight (Local1, 0x05, Local1)
                And (DerefOf (Index (TSBF, Arg1)), 0xFF, Local2)
                ShiftLeft (Local2, 0x03, Local2)
                Add (Local0, Local1, Local0)
                Add (Local0, Local2, Local0)
                And (DerefOf (Index (TSBF, Arg0)), 0x3F, Local1)
                Multiply (Arg3, Local0, Local2)
                Divide (Local2, Local1, , Local3)
                Return (Local3)
            }

            Name (VCOM, Zero)
            Name (VCON, Zero)
            Method (CCMN, 3, NotSerialized)
            {
                If (LEqual (Arg2, One))
                {
                    Store (0x0A, Local2)
                }
                Else
                {
                    If (LEqual (Arg2, 0x02))
                    {
                        Store (0x0D, Local2)
                    }
                    Else
                    {
                        If (LEqual (Arg2, 0x03))
                        {
                            Store (0x0D, Local2)
                        }
                    }
                }

                While (LLess (Local2, 0x40))
                {
                    Store (Divide (Multiply (Arg0, Local2), Arg1, ), Local4)
                    If (LLessEqual (Local4, 0x0800))
                    {
                        Store ("N", Debug)
                        Store (Local4, Debug)
                        Store ("M", Debug)
                        Store (Local2, Debug)
                        Store (Local4, VCON)
                        Store (Local2, VCOM)
                        Return (Zero)
                    }

                    Increment (Local2)
                }
            }

            Method (CCLK, 1, NotSerialized)
            {
                Name (VCOV, Zero)
                Name (VCOD, Zero)
                If (LEqual (Arg0, One))
                {
                    If (LEqual (CPUD, Zero))
                    {
                        Store (GDIV (0x14), CPUD)
                    }

                    Store (CPUD, VCOD)
                    Store (GCCX (0x10, 0x11, 0x14, 0xC350), VCOV)
                    Return (Divide (VCOV, VCOD, ))
                }
                Else
                {
                    If (LEqual (Arg0, 0x02))
                    {
                        If (LEqual (GFXD, Zero))
                        {
                            Store (GDIV (0x1C), GFXD)
                        }

                        Store (GFXD, VCOD)
                        Store (GCCX (0x1A, 0x1B, 0x1C, 0x37EE), VCOV)
                        Return (Divide (VCOV, VCOD, ))
                    }
                    Else
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            If (LEqual (SBCD, Zero))
                            {
                                Store (GDIV (0x1F), SBCD)
                            }

                            Store (SBCD, VCOD)
                            Store (GCCX (0x1D, 0x1E, 0x1F, 0x37EE), VCOV)
                            Return (Divide (VCOV, VCOD, ))
                        }
                    }
                }

                Return (Zero)
            }

            Method (SCCX, 6, NotSerialized)
            {
                Store (Zero, VCOM)
                Store (Zero, VCON)
                CCMN (Arg0, Arg4, Arg5)
                Store ("VCOM", Debug)
                Store (VCOM, Debug)
                Store ("VCON", Debug)
                Store (VCON, Debug)
                Store (Or (And (ShiftLeft (VCON, 0x05), 0xC0), VCOM
                    ), Index (TSBF, Arg1))
                Store (And (ShiftRight (VCON, 0x03), 0xFF), Index (TSBF, 
                    Arg2))
                Or (And (DerefOf (Index (TSBF, Arg3)), 0x7F), And (
                    ShiftLeft (VCON, 0x07), 0x80), Index (TSBF, Arg3))
                Store (TSBF, Debug)
                If (RWBK (Zero, 0xD2, Arg1, Add (Subtract (Arg3, Arg1), 
                    One), TSBF))
                {
                    Return (One)
                }

                Return (Zero)
            }

            Name (DIVD, Buffer (0x10)
            {
                /* 0000 */    0x02, 0x03, 0x05, 0x09, 0x04, 0x06, 0x0A, 0x12, 
                /* 0008 */    0x08, 0x0C, 0x14, 0x24, 0x10, 0x18, 0x28, 0x48
            })
            Method (GDIV, 1, NotSerialized)
            {
                Return (DerefOf (Index (DIVD, And (DerefOf (Index (TSBF, Arg0)), 
                    0x0F))))
            }

            Method (WTCX, 2, NotSerialized)
            {
                Store (Arg1, Local0)
                If (LEqual (Arg0, One))
                {
                    Return (SCCX (Local0, 0x10, 0x11, 0x14, 0xC350, Arg0))
                }
                Else
                {
                    If (LEqual (Arg0, 0x02))
                    {
                        Return (SCCX (Local0, 0x1A, 0x1B, 0x1C, 0x37EE, Arg0))
                    }
                    Else
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Return (SCCX (Local0, 0x1D, 0x1E, 0x1F, 0x37EE, Arg0))
                        }
                    }
                }

                Return (0x04)
            }

            Method (RMPC, 4, NotSerialized)
            {
                Name (STAT, Zero)
                Store (Arg0, Local0)
                Store (Arg1, Local1)
                While (LLess (Arg2, ABS (Local1, Local0)))
                {
                    If (LLess (Local0, Local1))
                    {
                        Add (Local0, Arg2, Local0)
                    }
                    Else
                    {
                        Subtract (Local0, Arg2, Local0)
                    }

                    Store (Local0, Debug)
                    Store (WTCX (Arg3, Local0), STAT)
                    Sleep (0x0A)
                    If (STAT)
                    {
                        Return (STAT)
                    }
                }

                If (LNotEqual (Local0, Local1))
                {
                    Store (WTCX (Arg3, Local1), STAT)
                    If (STAT)
                    {
                        Return (STAT)
                    }
                }

                Return (Zero)
            }

            Method (SETV, 2, NotSerialized)
            {
                If (LEqual (DBG, One))
                {
                    Store ("Setv", Debug)
                }
            }

            Method (GETV, 1, NotSerialized)
            {
                If (DBG)
                {
                    Store ("Getv", Debug)
                }

                Return (GVBF)
            }

            Method (VINI, 0, NotSerialized)
            {
            }

            Name (GF01, Zero)
            Name (OVFL, Zero)
            Name (OCFL, One)
            Method (AM01, 0, NotSerialized)
            {
                If (DBG)
                {
                    Store ("AM01", Debug)
                }

                If (LNot (GF01))
                {
                    BM01 ()
                    If (OCFL)
                    {
                        CINI ()
                    }

                    If (OVFL)
                    {
                        VINI ()
                    }

                    XINI ()
                    EM01 ()
                    Store (One, GF01)
                }

                Return (Zero)
            }

            Method (AM02, 0, NotSerialized)
            {
                If (DBG)
                {
                    Store ("AM02", Debug)
                    Store (OBID, Debug)
                }

                Return (OBID)
            }

            Method (AM03, 1, NotSerialized)
            {
                If (DBG)
                {
                    Store ("AM03", Debug)
                }

                SOID (Arg0)
                If (LAnd (LEqual (ID01, One), OCFL))
                {
                    Store (GETC (ID02), Local0)
                }
                Else
                {
                    If (LAnd (LEqual (ID01, 0x02), OVFL))
                    {
                        Store (GETV (ID02), Local0)
                    }
                    Else
                    {
                        Store (Zero, GVB1)
                        Store (0x04, GVB2)
                        Store (GVBF, Local0)
                    }
                }

                If (DBG)
                {
                    Store ("GVBF", Debug)
                    Store (Local0, Debug)
                }

                Return (Local0)
            }

            Method (AM04, 2, NotSerialized)
            {
                If (DBG)
                {
                    Store ("AM04", Debug)
                }

                SOID (Arg0)
                If (LAnd (LEqual (ID01, One), OCFL))
                {
                    SETC (ID02, Arg1)
                }
                Else
                {
                    If (LAnd (LEqual (ID01, 0x02), OVFL))
                    {
                        SETV (ID02, Arg1)
                    }
                    Else
                    {
                        Return (0x04)
                    }
                }

                Return (Zero)
            }

            Method (AM05, 1, NotSerialized)
            {
                Name (INFO, Buffer (0x18)
                {
                    /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                    /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                    /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                })
                CreateDWordField (INFO, Zero, IFID)
                CreateDWordField (INFO, 0x04, IFMI)
                CreateDWordField (INFO, 0x08, IFMX)
                CreateDWordField (INFO, 0x0C, IFVL)
                CreateDWordField (INFO, 0x10, IFSP)
                CreateField (INFO, 0xA0, 0x03, IFST)
                If (DBG)
                {
                    Store ("AM05", Debug)
                    Store (OBIT, Debug)
                }

                SOID (Arg0)
                If (DBG)
                {
                    Store ("ID", Debug)
                    Store (ID01, Debug)
                    Store (ID02, Debug)
                }

                BM05 (Arg0)
                If (DBG)
                {
                    Store ("OBIT", Debug)
                    Store (OBIT, Debug)
                }

                CPTB (Arg0, INFO)
                If (LAnd (LEqual (ID01, One), OCFL))
                {
                    GETC (ID02)
                    Store (GVB1, IFVL)
                    Store (GVB2, IFST)
                }
                Else
                {
                    If (LAnd (LEqual (ID01, 0x02), OVFL))
                    {
                        GETV (ID02)
                        Store (GVB1, IFVL)
                        Store (GVB2, IFST)
                    }
                    Else
                    {
                        Store (0x04, IFST)
                    }
                }

                EM05 (Arg0)
                If (DBG)
                {
                    Store ("info", Debug)
                    Store (INFO, Debug)
                }

                Return (INFO)
            }

            Method (AM06, 0, NotSerialized)
            {
                HM06 ()
                Return (Zero)
            }

            Method (AM07, 1, NotSerialized)
            {
                HM07 (Arg0)
                Return (Zero)
            }

            Method (APTS, 1, NotSerialized)
            {
                If (LAnd (GF01, LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x03))))
                {
                    Name (LOID, Zero)
                    Name (INFO, Buffer (0x18)
                    {
                        /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                        /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                        /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                    })
                    CreateDWordField (INFO, Zero, IFID)
                    CreateDWordField (INFO, 0x04, IFMI)
                    CreateDWordField (INFO, 0x08, IFMX)
                    CreateDWordField (INFO, 0x0C, IFVL)
                    CreateDWordField (INFO, 0x10, IFSP)
                    CreateField (INFO, 0xA0, 0x03, IFST)
                    Store (Zero, Local0)
                    Store (DerefOf (Index (OBIT, Local0)), LOID)
                    While (LOID)
                    {
                        CPTB (LOID, INFO)
                        SOID (LOID)
                        If (LAnd (LEqual (ID01, One), OCFL))
                        {
                            GETC (ID02)
                            Store (GVB1, IFVL)
                            Store (GVB2, IFST)
                        }
                        Else
                        {
                            If (LAnd (LEqual (ID01, 0x02), OVFL))
                            {
                                GETV (ID02)
                                Store (GVB1, IFVL)
                                Store (GVB2, IFST)
                            }
                        }

                        CBTP (INFO)
                        Add (Local0, 0x06, Local0)
                        Store (DerefOf (Index (OBIT, Local0)), LOID)
                    }
                }
            }

            Method (AWAK, 1, NotSerialized)
            {
                If (LAnd (GF01, LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x03))))
                {
                    Name (LOID, Zero)
                    Name (INFO, Buffer (0x18)
                    {
                        /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                        /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                        /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                    })
                    CreateDWordField (INFO, Zero, IFID)
                    CreateDWordField (INFO, 0x04, IFMI)
                    CreateDWordField (INFO, 0x08, IFMX)
                    CreateDWordField (INFO, 0x0C, IFVL)
                    CreateDWordField (INFO, 0x10, IFSP)
                    CreateField (INFO, 0xA0, 0x03, IFST)
                    Store (Zero, GF01)
                    AM01 ()
                    Store (Zero, Local0)
                    Store (DerefOf (Index (OBIT, Local0)), LOID)
                    While (LOID)
                    {
                        CPTB (LOID, INFO)
                        SOID (LOID)
                        If (LAnd (LEqual (ID01, One), OCFL))
                        {
                            SETC (ID02, IFVL)
                        }
                        Else
                        {
                            If (LAnd (LEqual (ID01, 0x02), OVFL))
                            {
                                SETV (ID02, IFVL)
                            }
                        }

                        Add (Local0, 0x06, Local0)
                        Store (DerefOf (Index (OBIT, Local0)), LOID)
                    }
                }
            }

            Name (WQBA, Buffer (0x081B)
            {
                /* 0000 */    0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, 
                /* 0008 */    0x0B, 0x08, 0x00, 0x00, 0x50, 0x2F, 0x00, 0x00, 
                /* 0010 */    0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, 
                /* 0018 */    0x28, 0x4D, 0x97, 0x00, 0x01, 0x06, 0x18, 0x42, 
                /* 0020 */    0x10, 0x0F, 0x10, 0x22, 0x21, 0x04, 0x12, 0x01, 
                /* 0028 */    0xA1, 0xC8, 0x2C, 0x0C, 0x86, 0x10, 0x38, 0x2E, 
                /* 0030 */    0x84, 0x1C, 0x40, 0x48, 0x1C, 0x14, 0x4A, 0x08, 
                /* 0038 */    0x84, 0xFA, 0x13, 0xC8, 0xAF, 0x00, 0x84, 0x0E, 
                /* 0040 */    0x05, 0xC8, 0x14, 0x60, 0x50, 0x80, 0x53, 0x04, 
                /* 0048 */    0x11, 0xF4, 0x2A, 0xC0, 0xA6, 0x00, 0x93, 0x02, 
                /* 0050 */    0x2C, 0x0A, 0xD0, 0x2E, 0xC0, 0xB2, 0x00, 0xDD, 
                /* 0058 */    0x02, 0xA4, 0xC3, 0x12, 0x91, 0xE0, 0x28, 0x31, 
                /* 0060 */    0xE0, 0x28, 0x9D, 0xD8, 0xC2, 0x0D, 0x1B, 0xBC, 
                /* 0068 */    0x50, 0x14, 0xCD, 0x20, 0x4A, 0x82, 0xCA, 0x05, 
                /* 0070 */    0xF8, 0x46, 0x10, 0x78, 0xB9, 0x02, 0x24, 0x4F, 
                /* 0078 */    0x40, 0x9A, 0x05, 0x18, 0x16, 0x60, 0x5D, 0x80, 
                /* 0080 */    0xEC, 0x21, 0x50, 0xA9, 0x43, 0x40, 0xC9, 0x19, 
                /* 0088 */    0x02, 0x6A, 0x00, 0xAD, 0x4E, 0x40, 0xF8, 0x95, 
                /* 0090 */    0x4E, 0x09, 0x49, 0x10, 0xCE, 0x58, 0xC5, 0xE3, 
                /* 0098 */    0x6B, 0x16, 0x4D, 0xCF, 0x49, 0xCE, 0x31, 0xE4, 
                /* 00A0 */    0x78, 0x5C, 0xE8, 0x41, 0x70, 0xB1, 0x16, 0x40, 
                /* 00A8 */    0x98, 0xFC, 0x21, 0x4B, 0x1E, 0x0C, 0x4A, 0xC2, 
                /* 00B0 */    0x58, 0xA8, 0x8B, 0x51, 0xA3, 0x46, 0xCA, 0x06, 
                /* 00B8 */    0x64, 0x88, 0xD2, 0x46, 0x8D, 0x1E, 0xD0, 0xF9, 
                /* 00C0 */    0x1D, 0xC9, 0xD9, 0x1D, 0xDD, 0x91, 0x24, 0x30, 
                /* 00C8 */    0xEA, 0x31, 0x1D, 0x63, 0x61, 0x33, 0x12, 0x6A, 
                /* 00D0 */    0x8C, 0xE6, 0xA0, 0x48, 0xB8, 0x41, 0xA3, 0x25, 
                /* 00D8 */    0xC2, 0x6A, 0x5C, 0xB1, 0xCF, 0xCC, 0xC2, 0x87, 
                /* 00E0 */    0x25, 0x8C, 0x23, 0x38, 0xB0, 0x83, 0xB5, 0x68, 
                /* 00E8 */    0x18, 0xA1, 0x15, 0x04, 0xA7, 0x41, 0x1C, 0x45, 
                /* 00F0 */    0x94, 0x30, 0x0C, 0xCF, 0x98, 0x81, 0x8E, 0x92, 
                /* 00F8 */    0x21, 0x85, 0x09, 0x7A, 0x02, 0x41, 0x4E, 0x9E, 
                /* 0100 */    0x61, 0x19, 0xE2, 0x0C, 0x38, 0x56, 0x8C, 0x50, 
                /* 0108 */    0x21, 0x31, 0x03, 0x09, 0xFE, 0xFF, 0x3F, 0x81, 
                /* 0110 */    0xAE, 0x31, 0xE4, 0x19, 0x88, 0xDC, 0x03, 0x4E, 
                /* 0118 */    0x20, 0x48, 0xF4, 0x28, 0xC1, 0x8D, 0x6B, 0x54, 
                /* 0120 */    0x36, 0xA6, 0xB3, 0xC1, 0x0D, 0xCC, 0x04, 0x71, 
                /* 0128 */    0x0E, 0x0F, 0x23, 0x03, 0x42, 0x13, 0x88, 0x1F, 
                /* 0130 */    0x3B, 0x7C, 0x02, 0xBB, 0x3F, 0x0E, 0x48, 0x21, 
                /* 0138 */    0x82, 0x2E, 0x04, 0x67, 0x5A, 0xA3, 0x00, 0x6B, 
                /* 0140 */    0x67, 0x07, 0xD9, 0x82, 0xD0, 0x59, 0x20, 0x56, 
                /* 0148 */    0x63, 0x28, 0x82, 0x88, 0x10, 0x34, 0x8A, 0xF1, 
                /* 0150 */    0x22, 0x84, 0x0A, 0x11, 0x25, 0xEA, 0x39, 0x07, 
                /* 0158 */    0xA9, 0x4D, 0x80, 0x32, 0x10, 0xA1, 0x05, 0x33, 
                /* 0160 */    0x02, 0xB3, 0x3F, 0x08, 0x12, 0xF0, 0x31, 0xA1, 
                /* 0168 */    0x1F, 0x81, 0x25, 0x9C, 0x08, 0x64, 0x64, 0x34, 
                /* 0170 */    0xF4, 0xB0, 0xE0, 0x93, 0x00, 0x3B, 0x20, 0x78, 
                /* 0178 */    0x3E, 0xA7, 0x66, 0x02, 0x07, 0x86, 0x10, 0xAC, 
                /* 0180 */    0x45, 0x1D, 0x2D, 0x28, 0x81, 0xA5, 0x1C, 0x0D, 
                /* 0188 */    0x88, 0xED, 0x81, 0xE9, 0x1E, 0x70, 0x84, 0xE7, 
                /* 0190 */    0xEE, 0xCB, 0xC1, 0xA9, 0xF9, 0xA7, 0xE1, 0x69, 
                /* 0198 */    0x3E, 0x24, 0x60, 0x86, 0xE8, 0xB1, 0x1E, 0x44, 
                /* 01A0 */    0xC0, 0x43, 0x64, 0xA7, 0x04, 0x03, 0xE2, 0xBD, 
                /* 01A8 */    0x5F, 0x0B, 0xC8, 0x08, 0x5E, 0x12, 0x0C, 0xE8, 
                /* 01B0 */    0x49, 0x3C, 0x20, 0x80, 0xE5, 0xA0, 0x71, 0xE0, 
                /* 01B8 */    0x27, 0x54, 0xF1, 0x1D, 0x80, 0x1E, 0x09, 0xD8, 
                /* 01C0 */    0x8C, 0xE2, 0x9B, 0xA0, 0xAC, 0xE3, 0x03, 0x7A, 
                /* 01C8 */    0xCE, 0xD1, 0x9E, 0x1D, 0x5E, 0x16, 0x9A, 0xBD, 
                /* 01D0 */    0x62, 0x10, 0x82, 0xD7, 0x00, 0xDF, 0x14, 0x7C, 
                /* 01D8 */    0x1A, 0xB1, 0xA0, 0xD5, 0xC9, 0xC9, 0xAA, 0x3C, 
                /* 01E0 */    0x62, 0x7A, 0xAA, 0xF0, 0x21, 0xE2, 0x00, 0x04, 
                /* 01E8 */    0x26, 0x0D, 0xC3, 0x05, 0x8D, 0x82, 0xE1, 0xA2, 
                /* 01F0 */    0xFE, 0xFF, 0xC3, 0x05, 0xEF, 0x71, 0xE0, 0x70, 
                /* 01F8 */    0xC1, 0x72, 0x48, 0xA8, 0x6A, 0x78, 0x9A, 0xC3, 
                /* 0200 */    0xE9, 0x36, 0x8F, 0x4F, 0x4E, 0x16, 0x9E, 0x2F, 
                /* 0208 */    0x1B, 0xCB, 0x51, 0xB1, 0x53, 0x08, 0x1B, 0x1D, 
                /* 0210 */    0x1F, 0x85, 0xC7, 0xFB, 0xD6, 0x50, 0x2C, 0x88, 
                /* 0218 */    0x4C, 0x40, 0xE8, 0xC4, 0x70, 0xDC, 0x60, 0x71, 
                /* 0220 */    0x76, 0x7E, 0x10, 0x24, 0x19, 0xB2, 0x44, 0x0C, 
                /* 0228 */    0x1C, 0x3D, 0x9D, 0x04, 0xC3, 0x43, 0x68, 0xE0, 
                /* 0230 */    0xE0, 0x01, 0xF4, 0xC0, 0xC1, 0x2F, 0x6F, 0xE0, 
                /* 0238 */    0x20, 0x9A, 0x42, 0xB0, 0xB7, 0x1A, 0x7E, 0xC4, 
                /* 0240 */    0x78, 0x0E, 0xF1, 0xA0, 0xC1, 0x3D, 0x06, 0x1C, 
                /* 0248 */    0x81, 0x87, 0x84, 0x3B, 0x1A, 0xC1, 0xF9, 0xFF, 
                /* 0250 */    0xDF, 0x7B, 0xEC, 0xF3, 0x4A, 0x41, 0x06, 0xF0, 
                /* 0258 */    0xCE, 0x82, 0x3B, 0x1B, 0x01, 0x97, 0x11, 0x70, 
                /* 0260 */    0x91, 0xAB, 0xA4, 0x67, 0x20, 0xCB, 0x82, 0x41, 
                /* 0268 */    0x1D, 0x83, 0x00, 0xD6, 0xDC, 0x7D, 0x5E, 0x7F, 
                /* 0270 */    0x7C, 0x0C, 0x02, 0x77, 0xB0, 0xF3, 0x80, 0xFE, 
                /* 0278 */    0xFF, 0x3F, 0x02, 0xCB, 0x39, 0xC5, 0x40, 0x3B, 
                /* 0280 */    0x0C, 0xF9, 0xF4, 0x01, 0x9E, 0x33, 0x10, 0x70, 
                /* 0288 */    0x38, 0x4C, 0xE0, 0x4F, 0x07, 0xF0, 0x06, 0xF9, 
                /* 0290 */    0x10, 0x03, 0xD6, 0x31, 0xFA, 0x10, 0x03, 0xBE, 
                /* 0298 */    0x83, 0x12, 0xEE, 0x00, 0x02, 0xCF, 0xE3, 0x90, 
                /* 02A0 */    0x84, 0x7C, 0x08, 0xC1, 0x0F, 0xE9, 0x98, 0x1E, 
                /* 02A8 */    0x41, 0x80, 0xA1, 0x90, 0x87, 0x81, 0xCF, 0x1F, 
                /* 02B0 */    0x34, 0xFA, 0x11, 0x04, 0xF4, 0xFF, 0xFF, 0x23, 
                /* 02B8 */    0x08, 0xC0, 0x81, 0xB3, 0xC2, 0x23, 0x08, 0xD8, 
                /* 02C0 */    0xC5, 0x3F, 0xC2, 0x74, 0x1E, 0x70, 0x70, 0x08, 
                /* 02C8 */    0x39, 0x39, 0xD8, 0xA1, 0x86, 0x63, 0xAD, 0x07, 
                /* 02D0 */    0x01, 0x32, 0x9E, 0x17, 0x01, 0x07, 0x3D, 0xD7, 
                /* 02D8 */    0x01, 0xDD, 0xB3, 0x06, 0xEE, 0x7C, 0x00, 0xEF, 
                /* 02E0 */    0xFF, 0x7F, 0x3E, 0xF0, 0x91, 0x8E, 0x9F, 0x3B, 
                /* 02E8 */    0xC0, 0x17, 0x1D, 0x42, 0x87, 0x42, 0xFC, 0x81, 
                /* 02F0 */    0xCA, 0x43, 0xF4, 0xD9, 0xC0, 0x04, 0x1E, 0x2D, 
                /* 02F8 */    0xB8, 0x8E, 0x75, 0xC0, 0xE1, 0xA4, 0x81, 0x1B, 
                /* 0300 */    0x2D, 0xDC, 0xE3, 0xEA, 0x63, 0x01, 0xE6, 0x40, 
                /* 0308 */    0x08, 0xAE, 0x43, 0x0B, 0x98, 0xAE, 0x0B, 0x98, 
                /* 0310 */    0x4B, 0x0B, 0xFE, 0xD0, 0x02, 0x7C, 0x84, 0x9E, 
                /* 0318 */    0x58, 0x50, 0xD2, 0x0E, 0x2D, 0xA0, 0xFB, 0xFF, 
                /* 0320 */    0x1F, 0x5A, 0x00, 0x4E, 0xCC, 0xF5, 0xA1, 0x05, 
                /* 0328 */    0xEC, 0xE1, 0x8E, 0x61, 0x80, 0xAA, 0xFF, 0xFF, 
                /* 0330 */    0x99, 0x12, 0x3F, 0x8B, 0xF8, 0x71, 0xA2, 0xBD, 
                /* 0338 */    0x05, 0xF8, 0x68, 0x0A, 0xDC, 0x0E, 0xB0, 0xB8, 
                /* 0340 */    0x23, 0x08, 0xBC, 0x4B, 0xC1, 0x69, 0x79, 0x6A, 
                /* 0348 */    0xCF, 0xE8, 0x07, 0xD7, 0xF8, 0x15, 0x84, 0xDC, 
                /* 0350 */    0x63, 0x7C, 0x10, 0x03, 0x86, 0x32, 0x0E, 0x62, 
                /* 0358 */    0xA8, 0xE0, 0x87, 0x10, 0x40, 0xEF, 0xFF, 0xFF, 
                /* 0360 */    0x10, 0x02, 0x1C, 0x2F, 0x0B, 0x0F, 0x21, 0x60, 
                /* 0368 */    0x97, 0x7E, 0x10, 0xA3, 0xB1, 0x0F, 0x62, 0xE8, 
                /* 0370 */    0x01, 0xF9, 0x7C, 0xC5, 0xCF, 0x61, 0x80, 0xD3, 
                /* 0378 */    0x33, 0x1C, 0xDC, 0xA8, 0xC7, 0x30, 0xA0, 0xF1, 
                /* 0380 */    0xFF, 0x3F, 0x86, 0x01, 0xB7, 0xB3, 0x28, 0x70, 
                /* 0388 */    0x82, 0x78, 0x0E, 0x03, 0xB6, 0x52, 0xCC, 0x80, 
                /* 0390 */    0xB0, 0x00, 0xAF, 0x07, 0x89, 0x7A, 0x0A, 0x50, 
                /* 0398 */    0x18, 0x1F, 0x90, 0x7C, 0x66, 0x81, 0x2B, 0x09, 
                /* 03A0 */    0x0E, 0x35, 0x46, 0x8F, 0xF3, 0xE1, 0xF6, 0x58, 
                /* 03A8 */    0x4F, 0xE4, 0xBD, 0xC0, 0x83, 0x7B, 0x0A, 0x80, 
                /* 03B0 */    0x71, 0x3E, 0xF0, 0xB4, 0x4E, 0xCA, 0x17, 0x80, 
                /* 03B8 */    0x47, 0x10, 0xDF, 0x46, 0x4C, 0xE0, 0x43, 0x02, 
                /* 03C0 */    0x43, 0xE3, 0x27, 0x19, 0xB0, 0xDE, 0x14, 0x7C, 
                /* 03C8 */    0x3E, 0x80, 0xF7, 0xFF, 0x3F, 0x1F, 0xE0, 0x66, 
                /* 03D0 */    0xFD, 0x1A, 0x83, 0xC1, 0x0A, 0x15, 0xA3, 0xD1, 
                /* 03D8 */    0x93, 0x00, 0x01, 0x3D, 0xBE, 0xBE, 0xAE, 0x03, 
                /* 03E0 */    0x14, 0x2A, 0x62, 0x88, 0x97, 0x02, 0xBB, 0x3C, 
                /* 03E8 */    0x54, 0x20, 0x0F, 0x2D, 0xE0, 0xC2, 0x7E, 0x68, 
                /* 03F0 */    0x01, 0x7B, 0xA8, 0x33, 0x11, 0x8D, 0x34, 0x1A, 
                /* 03F8 */    0xD4, 0x51, 0xC1, 0x87, 0x02, 0xDF, 0x88, 0x7D, 
                /* 0400 */    0xA2, 0x64, 0x20, 0x27, 0x7A, 0x5A, 0x8F, 0x0B, 
                /* 0408 */    0x4F, 0x03, 0x1E, 0x37, 0xBB, 0x26, 0xF8, 0x58, 
                /* 0410 */    0x46, 0x8E, 0x07, 0xE8, 0xFB, 0x43, 0xC0, 0x13, 
                /* 0418 */    0x7D, 0xE4, 0x80, 0x75, 0xF4, 0xC0, 0x9F, 0x32, 
                /* 0420 */    0xE0, 0x8F, 0xC7, 0xC7, 0x00, 0xCF, 0xE7, 0x84, 
                /* 0428 */    0x1F, 0x9F, 0xC8, 0x20, 0x50, 0x27, 0x4F, 0x3E, 
                /* 0430 */    0xD2, 0xD3, 0x7A, 0x1B, 0xF0, 0x21, 0xE1, 0xB0, 
                /* 0438 */    0xD8, 0x09, 0xCC, 0x27, 0x13, 0x70, 0x8C, 0x07, 
                /* 0440 */    0xFE, 0xA9, 0xFB, 0x21, 0xC3, 0x57, 0x06, 0xCF, 
                /* 0448 */    0xD7, 0x04, 0x0F, 0x97, 0x3E, 0x84, 0xC0, 0xFF, 
                /* 0450 */    0xFF, 0xDF, 0x3A, 0x7C, 0x68, 0x08, 0xF5, 0xD4, 
                /* 0458 */    0xE1, 0x19, 0xBC, 0x5F, 0xF8, 0x04, 0x02, 0x4C, 
                /* 0460 */    0xC2, 0x5A, 0x81, 0xE8, 0xE1, 0x64, 0xE1, 0x75, 
                /* 0468 */    0xCA, 0xC6, 0x91, 0x8F, 0x0E, 0xD3, 0x22, 0x0F, 
                /* 0470 */    0x08, 0x3A, 0x1A, 0xF8, 0x20, 0x63, 0x02, 0xCB, 
                /* 0478 */    0x03, 0xD2, 0xA9, 0xC8, 0x10, 0x16, 0x46, 0x21, 
                /* 0480 */    0x59, 0x10, 0x1A, 0x8D, 0x87, 0x47, 0xE0, 0x28, 
                /* 0488 */    0x88, 0x47, 0xEE, 0x90, 0xA7, 0x59, 0x50, 0x1C, 
                /* 0490 */    0x1B, 0x7C, 0x36, 0x83, 0x33, 0xB4, 0x88, 0x27, 
                /* 0498 */    0xE3, 0x69, 0x78, 0xDC, 0xB8, 0x53, 0x07, 0xDC, 
                /* 04A0 */    0x71, 0xE0, 0x4F, 0x7C, 0xF8, 0x83, 0x12, 0x27, 
                /* 04A8 */    0xF0, 0x11, 0x16, 0x5C, 0x02, 0xCF, 0x05, 0xA0, 
                /* 04B0 */    0x00, 0xF2, 0x55, 0xC0, 0x07, 0xBE, 0xC7, 0x01, 
                /* 04B8 */    0x36, 0x85, 0x10, 0x61, 0xA2, 0x19, 0x1E, 0x73, 
                /* 04C0 */    0x9A, 0xF6, 0x91, 0xC9, 0xE3, 0xF1, 0xB0, 0xF8, 
                /* 04C8 */    0x20, 0x7D, 0x7C, 0x61, 0xD8, 0x4F, 0x27, 0x3E, 
                /* 04D0 */    0xA1, 0x1D, 0xE3, 0x7B, 0xC1, 0xF3, 0x16, 0x06, 
                /* 04D8 */    0xD6, 0xC3, 0xE6, 0xFF, 0x7F, 0x58, 0xA3, 0x85, 
                /* 04E0 */    0x3D, 0xDA, 0xC7, 0x07, 0x5F, 0x3D, 0x3C, 0x31, 
                /* 04E8 */    0xDF, 0xD8, 0x7C, 0xE8, 0x00, 0xCB, 0xF1, 0x09, 
                /* 04F0 */    0xFE, 0x00, 0x1F, 0x05, 0xC0, 0x72, 0xFE, 0x61, 
                /* 04F8 */    0x73, 0x78, 0x81, 0x38, 0xF3, 0xD7, 0x13, 0x9F, 
                /* 0500 */    0xEE, 0x30, 0x27, 0x3C, 0xAE, 0x6B, 0x04, 0x24, 
                /* 0508 */    0xE2, 0x19, 0x02, 0x35, 0x08, 0xC7, 0x59, 0xA4, 
                /* 0510 */    0x0E, 0xC3, 0xCC, 0xE7, 0x81, 0x43, 0xAA, 0x51, 
                /* 0518 */    0x04, 0xEF, 0x5B, 0x01, 0x8B, 0x70, 0x8C, 0x40, 
                /* 0520 */    0x89, 0xA7, 0x90, 0xF4, 0x63, 0x04, 0x4A, 0x2C, 
                /* 0528 */    0x1C, 0x05, 0xF1, 0x31, 0xC2, 0x07, 0x09, 0xDB, 
                /* 0530 */    0x38, 0x8C, 0xA1, 0x0F, 0x7E, 0xFC, 0x28, 0xC0, 
                /* 0538 */    0x4F, 0x11, 0xF0, 0x4F, 0x3C, 0xB8, 0xB1, 0xC2, 
                /* 0540 */    0x1D, 0x1C, 0x5B, 0xE1, 0x4B, 0xCF, 0xA1, 0x9D, 
                /* 0548 */    0xDD, 0x43, 0x42, 0x94, 0x98, 0x67, 0x10, 0x31, 
                /* 0550 */    0xC2, 0xEB, 0xA8, 0xD1, 0x3C, 0x46, 0x1C, 0xCE, 
                /* 0558 */    0x39, 0xFA, 0x52, 0xE4, 0x39, 0xC5, 0x7A, 0x54, 
                /* 0560 */    0xE2, 0x47, 0x0A, 0xB8, 0x47, 0x30, 0xFC, 0x91, 
                /* 0568 */    0x02, 0x3F, 0x93, 0xF3, 0xC0, 0xFC, 0xFF, 0xD5, 
                /* 0570 */    0x8D, 0x45, 0xF0, 0x3E, 0x82, 0xE1, 0x0F, 0x16, 
                /* 0578 */    0xC0, 0x43, 0xCA, 0x31, 0x40, 0x07, 0x0B, 0x70, 
                /* 0580 */    0x9D, 0x09, 0x7C, 0xB0, 0x00, 0xAE, 0xE7, 0x03, 
                /* 0588 */    0x9F, 0x0E, 0xC0, 0x7A, 0xF9, 0xE1, 0xF7, 0x03, 
                /* 0590 */    0x18, 0x27, 0x0C, 0x18, 0xE7, 0x03, 0xCC, 0x0D, 
                /* 0598 */    0xC3, 0x61, 0x96, 0xAC, 0x13, 0x06, 0x3F, 0xAE, 
                /* 05A0 */    0x39, 0xD2, 0x6A, 0x75, 0x7A, 0xC7, 0x13, 0x38, 
                /* 05A8 */    0x08, 0x98, 0x4E, 0x16, 0x1E, 0xB5, 0x23, 0x50, 
                /* 05B0 */    0x48, 0xDA, 0x01, 0x03, 0x25, 0xE6, 0x80, 0x41, 
                /* 05B8 */    0x41, 0x0C, 0xE8, 0xA4, 0x87, 0x47, 0xF4, 0xC1, 
                /* 05C0 */    0xCE, 0xA7, 0x06, 0x76, 0x91, 0xF5, 0xF5, 0xC2, 
                /* 05C8 */    0xF3, 0xF4, 0x94, 0x39, 0x9E, 0x8F, 0x21, 0x26, 
                /* 05D0 */    0xF8, 0xFF, 0x47, 0x7D, 0x31, 0x01, 0xCF, 0x8D, 
                /* 05D8 */    0x82, 0x9D, 0x5C, 0x31, 0x17, 0x37, 0x76, 0xB6, 
                /* 05E0 */    0x63, 0xA7, 0x02, 0xA3, 0x1C, 0xEE, 0x1B, 0x98, 
                /* 05E8 */    0xD5, 0x5C, 0x15, 0x50, 0x33, 0xC2, 0x10, 0x78, 
                /* 05F0 */    0xBC, 0x3E, 0x34, 0x82, 0x49, 0xDF, 0x85, 0x02, 
                /* 05F8 */    0xE4, 0xE8, 0x5C, 0xE6, 0xE8, 0x51, 0xE7, 0x28, 
                /* 0600 */    0x9F, 0xA4, 0xF8, 0xE8, 0x1D, 0x1A, 0x42, 0xA7, 
                /* 0608 */    0x15, 0xB8, 0x67, 0x29, 0x1F, 0xA1, 0x80, 0xEF, 
                /* 0610 */    0xC0, 0x7C, 0x29, 0xC0, 0x1D, 0x50, 0xC0, 0x70, 
                /* 0618 */    0x7D, 0xC0, 0x1F, 0xBC, 0x61, 0x9C, 0x51, 0xE0, 
                /* 0620 */    0xFE, 0xFF, 0xCF, 0x28, 0xE0, 0x0A, 0x7C, 0x96, 
                /* 0628 */    0x02, 0x1D, 0xA4, 0xCF, 0x28, 0xC0, 0x75, 0xA8, 
                /* 0630 */    0xB8, 0x33, 0x0A, 0x38, 0xCE, 0xB6, 0x98, 0x73, 
                /* 0638 */    0x14, 0x8B, 0x73, 0x2C, 0x41, 0x87, 0x7A, 0x39, 
                /* 0640 */    0xE8, 0x30, 0x8B, 0x27, 0x70, 0x94, 0x63, 0x09, 
                /* 0648 */    0x2A, 0x04, 0x85, 0x4E, 0x50, 0x3E, 0x49, 0xF0, 
                /* 0650 */    0x33, 0x1E, 0x07, 0x31, 0xA0, 0xB3, 0x9F, 0x24, 
                /* 0658 */    0xD0, 0x2A, 0x4E, 0x12, 0xC8, 0xB0, 0xE7, 0x12, 
                /* 0660 */    0x40, 0xC0, 0xFF, 0xFF, 0x5C, 0xC2, 0xCF, 0x89, 
                /* 0668 */    0x4F, 0x13, 0xE0, 0xBA, 0x11, 0xC3, 0x3F, 0x9F, 
                /* 0670 */    0x00, 0x8B, 0x23, 0x23, 0xE0, 0xEC, 0x20, 0xC8, 
                /* 0678 */    0x8F, 0x8C, 0xC0, 0xF7, 0x5C, 0x02, 0xBE, 0x61, 
                /* 0680 */    0x1B, 0xD6, 0xFF, 0xFF, 0x73, 0x09, 0xE0, 0xE3, 
                /* 0688 */    0x26, 0xCD, 0xCF, 0x25, 0x70, 0x87, 0xEE, 0x38, 
                /* 0690 */    0xA7, 0x2F, 0xC4, 0x15, 0xD6, 0xF7, 0x8C, 0xF8, 
                /* 0698 */    0x09, 0xC6, 0x38, 0x96, 0xA0, 0x02, 0x1C, 0xBE, 
                /* 06A0 */    0x00, 0x9A, 0xFC, 0xFF, 0x4F, 0x23, 0xF8, 0x73, 
                /* 06A8 */    0xB1, 0x47, 0xCF, 0x0F, 0x24, 0x3E, 0x64, 0x90, 
                /* 06B0 */    0xD1, 0xD3, 0xC8, 0x87, 0x2F, 0xE8, 0x11, 0x0F, 
                /* 06B8 */    0x23, 0x40, 0x7B, 0xA0, 0x0F, 0x5F, 0x60, 0xBC, 
                /* 06C0 */    0x3D, 0xF0, 0xE3, 0x26, 0xF0, 0x8A, 0x7D, 0x28, 
                /* 06C8 */    0x01, 0x1D, 0x2C, 0x3F, 0x94, 0x00, 0xCF, 0xD1, 
                /* 06D0 */    0xF3, 0xFF, 0xFF, 0xD9, 0x0B, 0x3C, 0x57, 0x09, 
                /* 06D8 */    0x0F, 0xDE, 0x80, 0xC7, 0xF4, 0x58, 0x60, 0x40, 
                /* 06E0 */    0x76, 0x2E, 0x61, 0xB2, 0xCF, 0x25, 0xE8, 0xF3, 
                /* 06E8 */    0x88, 0xAD, 0xDE, 0x8E, 0xC9, 0x49, 0x1D, 0x23, 
                /* 06F0 */    0xFC, 0x5C, 0x82, 0x92, 0x7C, 0x2E, 0x01, 0x68, 
                /* 06F8 */    0x73, 0xE8, 0x02, 0x4E, 0xFF, 0xFF, 0x43, 0x17, 
                /* 0700 */    0xE0, 0xF5, 0x1A, 0xE8, 0x03, 0x09, 0xB8, 0xEE, 
                /* 0708 */    0x09, 0x3E, 0x90, 0x00, 0xD7, 0xA3, 0x00, 0x78, 
                /* 0710 */    0x8E, 0x20, 0xF8, 0x23, 0xB3, 0x0F, 0xFC, 0xB8, 
                /* 0718 */    0x93, 0xBE, 0x4F, 0xD5, 0x71, 0x8D, 0x7F, 0xC4, 
                /* 0720 */    0x47, 0xD0, 0xF8, 0xE9, 0x8B, 0xDC, 0x0B, 0x7C, 
                /* 0728 */    0x2C, 0xD1, 0x81, 0x1F, 0x25, 0x98, 0x42, 0x72, 
                /* 0730 */    0x0F, 0x10, 0x28, 0x81, 0x70, 0xF4, 0xFF, 0x0F, 
                /* 0738 */    0xE2, 0x03, 0x84, 0xC3, 0x9F, 0x93, 0xA0, 0x5F, 
                /* 0740 */    0x2D, 0xF9, 0xF9, 0x01, 0x7F, 0x1D, 0x61, 0xA3, 
                /* 0748 */    0x64, 0xC7, 0x79, 0xDC, 0x28, 0xE1, 0x82, 0xBD, 
                /* 0750 */    0x3E, 0x18, 0xE2, 0x0E, 0x4F, 0x84, 0x9F, 0x6D, 
                /* 0758 */    0x31, 0xC7, 0x7C, 0xB8, 0x47, 0x85, 0x47, 0x25, 
                /* 0760 */    0x70, 0xCD, 0x1A, 0xD6, 0x61, 0x09, 0xF0, 0xE0, 
                /* 0768 */    0xE1, 0xB0, 0x04, 0x68, 0xF8, 0xFF, 0x9F, 0x0B, 
                /* 0770 */    0xF0, 0xB3, 0xE7, 0x83, 0x38, 0x11, 0x0F, 0x1F, 
                /* 0778 */    0x03, 0x74, 0x2C, 0x6F, 0x07, 0x0C, 0x52, 0x36, 
                /* 0780 */    0x7D, 0x6A, 0x34, 0x6A, 0xD5, 0xA0, 0x4C, 0x8D, 
                /* 0788 */    0x32, 0x0D, 0x6A, 0xF5, 0xA9, 0xD4, 0x98, 0x31, 
                /* 0790 */    0x43, 0x47, 0x0A, 0xAF, 0x56, 0xC3, 0x75, 0xA0, 
                /* 0798 */    0x97, 0x83, 0x40, 0x1C, 0x6C, 0xCD, 0x02, 0x71, 
                /* 07A0 */    0xF0, 0xD5, 0x08, 0xC4, 0x32, 0x56, 0x25, 0x10, 
                /* 07A8 */    0x4B, 0x78, 0x49, 0x08, 0xC4, 0x22, 0xDF, 0x02, 
                /* 07B0 */    0x02, 0xB1, 0xE8, 0xA7, 0x92, 0x40, 0x2C, 0xF7, 
                /* 07B8 */    0x31, 0x2C, 0x10, 0x0B, 0xF3, 0x02, 0xC2, 0x62, 
                /* 07C0 */    0x81, 0x50, 0x61, 0x66, 0x8E, 0x39, 0x4C, 0x26, 
                /* 07C8 */    0x88, 0x80, 0x1C, 0xCE, 0x0D, 0x10, 0x8B, 0x0A, 
                /* 07D0 */    0x22, 0x20, 0x2B, 0xD5, 0x03, 0xC4, 0x64, 0x83, 
                /* 07D8 */    0x08, 0xC8, 0xE2, 0xFD, 0x00, 0xB1, 0x28, 0x20, 
                /* 07E0 */    0x02, 0x72, 0xEE, 0x75, 0x09, 0xC8, 0x22, 0x14, 
                /* 07E8 */    0x01, 0x31, 0x71, 0x8E, 0x80, 0x98, 0x54, 0x10, 
                /* 07F0 */    0x01, 0x39, 0x81, 0x25, 0x20, 0x16, 0x07, 0x44, 
                /* 07F8 */    0x40, 0x0E, 0xA5, 0x09, 0x88, 0x45, 0x04, 0x11, 
                /* 0800 */    0x90, 0xF5, 0x98, 0x02, 0x62, 0xE2, 0x40, 0x34, 
                /* 0808 */    0x3C, 0xA2, 0x0A, 0x88, 0x49, 0x06, 0x11, 0x90, 
                /* 0810 */    0x83, 0xBC, 0x10, 0x04, 0xE4, 0x58, 0x20, 0x02, 
                /* 0818 */    0xF2, 0xFF, 0x1F
            })
            Name (_HID, EisaId ("PNP0C14"))
            Name (_UID, Zero)
            Name (_WDG, Buffer (0x28)
            {
                /* 0000 */    0x6A, 0x0F, 0xBC, 0xAB, 0xA1, 0x8E, 0xD1, 0x11, 
                /* 0008 */    0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10, 0x00, 0x00, 
                /* 0010 */    0x41, 0x41, 0x01, 0x02, 0x21, 0x12, 0x90, 0x05, 
                /* 0018 */    0x66, 0xD5, 0xD1, 0x11, 0xB2, 0xF0, 0x00, 0xA0, 
                /* 0020 */    0xC9, 0x06, 0x29, 0x10, 0x42, 0x41, 0x01, 0x00
            })
            Method (WMAA, 3, NotSerialized)
            {
                If (LEqual (Arg0, Zero))
                {
                    If (LOr (LOr (LNotEqual (Arg1, One), LNotEqual (Arg1, 
                        0x02)), LNotEqual (Arg1, 0x06)))
                    {
                        CreateDWordField (Arg2, Zero, WIID)
                    }

                    If (LEqual (Arg1, One))
                    {
                        Return (AM01 ())
                    }
                    Else
                    {
                        If (LEqual (Arg1, 0x02))
                        {
                            Return (AM02 ())
                        }
                        Else
                        {
                            If (LEqual (Arg1, 0x03))
                            {
                                Return (AM03 (WIID))
                            }
                            Else
                            {
                                If (LEqual (Arg1, 0x04))
                                {
                                    CreateDWordField (Arg2, 0x04, IVAL)
                                    Return (AM04 (WIID, IVAL))
                                }
                                Else
                                {
                                    If (LEqual (Arg1, 0x05))
                                    {
                                        Return (AM05 (WIID))
                                    }
                                    Else
                                    {
                                        If (LEqual (Arg1, 0x06))
                                        {
                                            Return (AM06 ())
                                        }
                                        Else
                                        {
                                            If (LEqual (Arg1, 0x07))
                                            {
                                                AM07 (Arg2)
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    Name (WQBA, Buffer (0x081B)
    {
        /* 0000 */    0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, 
        /* 0008 */    0x0B, 0x08, 0x00, 0x00, 0x50, 0x2F, 0x00, 0x00, 
        /* 0010 */    0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, 
        /* 0018 */    0x28, 0x4D, 0x97, 0x00, 0x01, 0x06, 0x18, 0x42, 
        /* 0020 */    0x10, 0x0F, 0x10, 0x22, 0x21, 0x04, 0x12, 0x01, 
        /* 0028 */    0xA1, 0xC8, 0x2C, 0x0C, 0x86, 0x10, 0x38, 0x2E, 
        /* 0030 */    0x84, 0x1C, 0x40, 0x48, 0x1C, 0x14, 0x4A, 0x08, 
        /* 0038 */    0x84, 0xFA, 0x13, 0xC8, 0xAF, 0x00, 0x84, 0x0E, 
        /* 0040 */    0x05, 0xC8, 0x14, 0x60, 0x50, 0x80, 0x53, 0x04, 
        /* 0048 */    0x11, 0xF4, 0x2A, 0xC0, 0xA6, 0x00, 0x93, 0x02, 
        /* 0050 */    0x2C, 0x0A, 0xD0, 0x2E, 0xC0, 0xB2, 0x00, 0xDD, 
        /* 0058 */    0x02, 0xA4, 0xC3, 0x12, 0x91, 0xE0, 0x28, 0x31, 
        /* 0060 */    0xE0, 0x28, 0x9D, 0xD8, 0xC2, 0x0D, 0x1B, 0xBC, 
        /* 0068 */    0x50, 0x14, 0xCD, 0x20, 0x4A, 0x82, 0xCA, 0x05, 
        /* 0070 */    0xF8, 0x46, 0x10, 0x78, 0xB9, 0x02, 0x24, 0x4F, 
        /* 0078 */    0x40, 0x9A, 0x05, 0x18, 0x16, 0x60, 0x5D, 0x80, 
        /* 0080 */    0xEC, 0x21, 0x50, 0xA9, 0x43, 0x40, 0xC9, 0x19, 
        /* 0088 */    0x02, 0x6A, 0x00, 0xAD, 0x4E, 0x40, 0xF8, 0x95, 
        /* 0090 */    0x4E, 0x09, 0x49, 0x10, 0xCE, 0x58, 0xC5, 0xE3, 
        /* 0098 */    0x6B, 0x16, 0x4D, 0xCF, 0x49, 0xCE, 0x31, 0xE4, 
        /* 00A0 */    0x78, 0x5C, 0xE8, 0x41, 0x70, 0xB1, 0x16, 0x40, 
        /* 00A8 */    0x98, 0xFC, 0x21, 0x4B, 0x1E, 0x0C, 0x4A, 0xC2, 
        /* 00B0 */    0x58, 0xA8, 0x8B, 0x51, 0xA3, 0x46, 0xCA, 0x06, 
        /* 00B8 */    0x64, 0x88, 0xD2, 0x46, 0x8D, 0x1E, 0xD0, 0xF9, 
        /* 00C0 */    0x1D, 0xC9, 0xD9, 0x1D, 0xDD, 0x91, 0x24, 0x30, 
        /* 00C8 */    0xEA, 0x31, 0x1D, 0x63, 0x61, 0x33, 0x12, 0x6A, 
        /* 00D0 */    0x8C, 0xE6, 0xA0, 0x48, 0xB8, 0x41, 0xA3, 0x25, 
        /* 00D8 */    0xC2, 0x6A, 0x5C, 0xB1, 0xCF, 0xCC, 0xC2, 0x87, 
        /* 00E0 */    0x25, 0x8C, 0x23, 0x38, 0xB0, 0x83, 0xB5, 0x68, 
        /* 00E8 */    0x18, 0xA1, 0x15, 0x04, 0xA7, 0x41, 0x1C, 0x45, 
        /* 00F0 */    0x94, 0x30, 0x0C, 0xCF, 0x98, 0x81, 0x8E, 0x92, 
        /* 00F8 */    0x21, 0x85, 0x09, 0x7A, 0x02, 0x41, 0x4E, 0x9E, 
        /* 0100 */    0x61, 0x19, 0xE2, 0x0C, 0x38, 0x56, 0x8C, 0x50, 
        /* 0108 */    0x21, 0x31, 0x03, 0x09, 0xFE, 0xFF, 0x3F, 0x81, 
        /* 0110 */    0xAE, 0x31, 0xE4, 0x19, 0x88, 0xDC, 0x03, 0x4E, 
        /* 0118 */    0x20, 0x48, 0xF4, 0x28, 0xC1, 0x8D, 0x6B, 0x54, 
        /* 0120 */    0x36, 0xA6, 0xB3, 0xC1, 0x0D, 0xCC, 0x04, 0x71, 
        /* 0128 */    0x0E, 0x0F, 0x23, 0x03, 0x42, 0x13, 0x88, 0x1F, 
        /* 0130 */    0x3B, 0x7C, 0x02, 0xBB, 0x3F, 0x0E, 0x48, 0x21, 
        /* 0138 */    0x82, 0x2E, 0x04, 0x67, 0x5A, 0xA3, 0x00, 0x6B, 
        /* 0140 */    0x67, 0x07, 0xD9, 0x82, 0xD0, 0x59, 0x20, 0x56, 
        /* 0148 */    0x63, 0x28, 0x82, 0x88, 0x10, 0x34, 0x8A, 0xF1, 
        /* 0150 */    0x22, 0x84, 0x0A, 0x11, 0x25, 0xEA, 0x39, 0x07, 
        /* 0158 */    0xA9, 0x4D, 0x80, 0x32, 0x10, 0xA1, 0x05, 0x33, 
        /* 0160 */    0x02, 0xB3, 0x3F, 0x08, 0x12, 0xF0, 0x31, 0xA1, 
        /* 0168 */    0x1F, 0x81, 0x25, 0x9C, 0x08, 0x64, 0x64, 0x34, 
        /* 0170 */    0xF4, 0xB0, 0xE0, 0x93, 0x00, 0x3B, 0x20, 0x78, 
        /* 0178 */    0x3E, 0xA7, 0x66, 0x02, 0x07, 0x86, 0x10, 0xAC, 
        /* 0180 */    0x45, 0x1D, 0x2D, 0x28, 0x81, 0xA5, 0x1C, 0x0D, 
        /* 0188 */    0x88, 0xED, 0x81, 0xE9, 0x1E, 0x70, 0x84, 0xE7, 
        /* 0190 */    0xEE, 0xCB, 0xC1, 0xA9, 0xF9, 0xA7, 0xE1, 0x69, 
        /* 0198 */    0x3E, 0x24, 0x60, 0x86, 0xE8, 0xB1, 0x1E, 0x44, 
        /* 01A0 */    0xC0, 0x43, 0x64, 0xA7, 0x04, 0x03, 0xE2, 0xBD, 
        /* 01A8 */    0x5F, 0x0B, 0xC8, 0x08, 0x5E, 0x12, 0x0C, 0xE8, 
        /* 01B0 */    0x49, 0x3C, 0x20, 0x80, 0xE5, 0xA0, 0x71, 0xE0, 
        /* 01B8 */    0x27, 0x54, 0xF1, 0x1D, 0x80, 0x1E, 0x09, 0xD8, 
        /* 01C0 */    0x8C, 0xE2, 0x9B, 0xA0, 0xAC, 0xE3, 0x03, 0x7A, 
        /* 01C8 */    0xCE, 0xD1, 0x9E, 0x1D, 0x5E, 0x16, 0x9A, 0xBD, 
        /* 01D0 */    0x62, 0x10, 0x82, 0xD7, 0x00, 0xDF, 0x14, 0x7C, 
        /* 01D8 */    0x1A, 0xB1, 0xA0, 0xD5, 0xC9, 0xC9, 0xAA, 0x3C, 
        /* 01E0 */    0x62, 0x7A, 0xAA, 0xF0, 0x21, 0xE2, 0x00, 0x04, 
        /* 01E8 */    0x26, 0x0D, 0xC3, 0x05, 0x8D, 0x82, 0xE1, 0xA2, 
        /* 01F0 */    0xFE, 0xFF, 0xC3, 0x05, 0xEF, 0x71, 0xE0, 0x70, 
        /* 01F8 */    0xC1, 0x72, 0x48, 0xA8, 0x6A, 0x78, 0x9A, 0xC3, 
        /* 0200 */    0xE9, 0x36, 0x8F, 0x4F, 0x4E, 0x16, 0x9E, 0x2F, 
        /* 0208 */    0x1B, 0xCB, 0x51, 0xB1, 0x53, 0x08, 0x1B, 0x1D, 
        /* 0210 */    0x1F, 0x85, 0xC7, 0xFB, 0xD6, 0x50, 0x2C, 0x88, 
        /* 0218 */    0x4C, 0x40, 0xE8, 0xC4, 0x70, 0xDC, 0x60, 0x71, 
        /* 0220 */    0x76, 0x7E, 0x10, 0x24, 0x19, 0xB2, 0x44, 0x0C, 
        /* 0228 */    0x1C, 0x3D, 0x9D, 0x04, 0xC3, 0x43, 0x68, 0xE0, 
        /* 0230 */    0xE0, 0x01, 0xF4, 0xC0, 0xC1, 0x2F, 0x6F, 0xE0, 
        /* 0238 */    0x20, 0x9A, 0x42, 0xB0, 0xB7, 0x1A, 0x7E, 0xC4, 
        /* 0240 */    0x78, 0x0E, 0xF1, 0xA0, 0xC1, 0x3D, 0x06, 0x1C, 
        /* 0248 */    0x81, 0x87, 0x84, 0x3B, 0x1A, 0xC1, 0xF9, 0xFF, 
        /* 0250 */    0xDF, 0x7B, 0xEC, 0xF3, 0x4A, 0x41, 0x06, 0xF0, 
        /* 0258 */    0xCE, 0x82, 0x3B, 0x1B, 0x01, 0x97, 0x11, 0x70, 
        /* 0260 */    0x91, 0xAB, 0xA4, 0x67, 0x20, 0xCB, 0x82, 0x41, 
        /* 0268 */    0x1D, 0x83, 0x00, 0xD6, 0xDC, 0x7D, 0x5E, 0x7F, 
        /* 0270 */    0x7C, 0x0C, 0x02, 0x77, 0xB0, 0xF3, 0x80, 0xFE, 
        /* 0278 */    0xFF, 0x3F, 0x02, 0xCB, 0x39, 0xC5, 0x40, 0x3B, 
        /* 0280 */    0x0C, 0xF9, 0xF4, 0x01, 0x9E, 0x33, 0x10, 0x70, 
        /* 0288 */    0x38, 0x4C, 0xE0, 0x4F, 0x07, 0xF0, 0x06, 0xF9, 
        /* 0290 */    0x10, 0x03, 0xD6, 0x31, 0xFA, 0x10, 0x03, 0xBE, 
        /* 0298 */    0x83, 0x12, 0xEE, 0x00, 0x02, 0xCF, 0xE3, 0x90, 
        /* 02A0 */    0x84, 0x7C, 0x08, 0xC1, 0x0F, 0xE9, 0x98, 0x1E, 
        /* 02A8 */    0x41, 0x80, 0xA1, 0x90, 0x87, 0x81, 0xCF, 0x1F, 
        /* 02B0 */    0x34, 0xFA, 0x11, 0x04, 0xF4, 0xFF, 0xFF, 0x23, 
        /* 02B8 */    0x08, 0xC0, 0x81, 0xB3, 0xC2, 0x23, 0x08, 0xD8, 
        /* 02C0 */    0xC5, 0x3F, 0xC2, 0x74, 0x1E, 0x70, 0x70, 0x08, 
        /* 02C8 */    0x39, 0x39, 0xD8, 0xA1, 0x86, 0x63, 0xAD, 0x07, 
        /* 02D0 */    0x01, 0x32, 0x9E, 0x17, 0x01, 0x07, 0x3D, 0xD7, 
        /* 02D8 */    0x01, 0xDD, 0xB3, 0x06, 0xEE, 0x7C, 0x00, 0xEF, 
        /* 02E0 */    0xFF, 0x7F, 0x3E, 0xF0, 0x91, 0x8E, 0x9F, 0x3B, 
        /* 02E8 */    0xC0, 0x17, 0x1D, 0x42, 0x87, 0x42, 0xFC, 0x81, 
        /* 02F0 */    0xCA, 0x43, 0xF4, 0xD9, 0xC0, 0x04, 0x1E, 0x2D, 
        /* 02F8 */    0xB8, 0x8E, 0x75, 0xC0, 0xE1, 0xA4, 0x81, 0x1B, 
        /* 0300 */    0x2D, 0xDC, 0xE3, 0xEA, 0x63, 0x01, 0xE6, 0x40, 
        /* 0308 */    0x08, 0xAE, 0x43, 0x0B, 0x98, 0xAE, 0x0B, 0x98, 
        /* 0310 */    0x4B, 0x0B, 0xFE, 0xD0, 0x02, 0x7C, 0x84, 0x9E, 
        /* 0318 */    0x58, 0x50, 0xD2, 0x0E, 0x2D, 0xA0, 0xFB, 0xFF, 
        /* 0320 */    0x1F, 0x5A, 0x00, 0x4E, 0xCC, 0xF5, 0xA1, 0x05, 
        /* 0328 */    0xEC, 0xE1, 0x8E, 0x61, 0x80, 0xAA, 0xFF, 0xFF, 
        /* 0330 */    0x99, 0x12, 0x3F, 0x8B, 0xF8, 0x71, 0xA2, 0xBD, 
        /* 0338 */    0x05, 0xF8, 0x68, 0x0A, 0xDC, 0x0E, 0xB0, 0xB8, 
        /* 0340 */    0x23, 0x08, 0xBC, 0x4B, 0xC1, 0x69, 0x79, 0x6A, 
        /* 0348 */    0xCF, 0xE8, 0x07, 0xD7, 0xF8, 0x15, 0x84, 0xDC, 
        /* 0350 */    0x63, 0x7C, 0x10, 0x03, 0x86, 0x32, 0x0E, 0x62, 
        /* 0358 */    0xA8, 0xE0, 0x87, 0x10, 0x40, 0xEF, 0xFF, 0xFF, 
        /* 0360 */    0x10, 0x02, 0x1C, 0x2F, 0x0B, 0x0F, 0x21, 0x60, 
        /* 0368 */    0x97, 0x7E, 0x10, 0xA3, 0xB1, 0x0F, 0x62, 0xE8, 
        /* 0370 */    0x01, 0xF9, 0x7C, 0xC5, 0xCF, 0x61, 0x80, 0xD3, 
        /* 0378 */    0x33, 0x1C, 0xDC, 0xA8, 0xC7, 0x30, 0xA0, 0xF1, 
        /* 0380 */    0xFF, 0x3F, 0x86, 0x01, 0xB7, 0xB3, 0x28, 0x70, 
        /* 0388 */    0x82, 0x78, 0x0E, 0x03, 0xB6, 0x52, 0xCC, 0x80, 
        /* 0390 */    0xB0, 0x00, 0xAF, 0x07, 0x89, 0x7A, 0x0A, 0x50, 
        /* 0398 */    0x18, 0x1F, 0x90, 0x7C, 0x66, 0x81, 0x2B, 0x09, 
        /* 03A0 */    0x0E, 0x35, 0x46, 0x8F, 0xF3, 0xE1, 0xF6, 0x58, 
        /* 03A8 */    0x4F, 0xE4, 0xBD, 0xC0, 0x83, 0x7B, 0x0A, 0x80, 
        /* 03B0 */    0x71, 0x3E, 0xF0, 0xB4, 0x4E, 0xCA, 0x17, 0x80, 
        /* 03B8 */    0x47, 0x10, 0xDF, 0x46, 0x4C, 0xE0, 0x43, 0x02, 
        /* 03C0 */    0x43, 0xE3, 0x27, 0x19, 0xB0, 0xDE, 0x14, 0x7C, 
        /* 03C8 */    0x3E, 0x80, 0xF7, 0xFF, 0x3F, 0x1F, 0xE0, 0x66, 
        /* 03D0 */    0xFD, 0x1A, 0x83, 0xC1, 0x0A, 0x15, 0xA3, 0xD1, 
        /* 03D8 */    0x93, 0x00, 0x01, 0x3D, 0xBE, 0xBE, 0xAE, 0x03, 
        /* 03E0 */    0x14, 0x2A, 0x62, 0x88, 0x97, 0x02, 0xBB, 0x3C, 
        /* 03E8 */    0x54, 0x20, 0x0F, 0x2D, 0xE0, 0xC2, 0x7E, 0x68, 
        /* 03F0 */    0x01, 0x7B, 0xA8, 0x33, 0x11, 0x8D, 0x34, 0x1A, 
        /* 03F8 */    0xD4, 0x51, 0xC1, 0x87, 0x02, 0xDF, 0x88, 0x7D, 
        /* 0400 */    0xA2, 0x64, 0x20, 0x27, 0x7A, 0x5A, 0x8F, 0x0B, 
        /* 0408 */    0x4F, 0x03, 0x1E, 0x37, 0xBB, 0x26, 0xF8, 0x58, 
        /* 0410 */    0x46, 0x8E, 0x07, 0xE8, 0xFB, 0x43, 0xC0, 0x13, 
        /* 0418 */    0x7D, 0xE4, 0x80, 0x75, 0xF4, 0xC0, 0x9F, 0x32, 
        /* 0420 */    0xE0, 0x8F, 0xC7, 0xC7, 0x00, 0xCF, 0xE7, 0x84, 
        /* 0428 */    0x1F, 0x9F, 0xC8, 0x20, 0x50, 0x27, 0x4F, 0x3E, 
        /* 0430 */    0xD2, 0xD3, 0x7A, 0x1B, 0xF0, 0x21, 0xE1, 0xB0, 
        /* 0438 */    0xD8, 0x09, 0xCC, 0x27, 0x13, 0x70, 0x8C, 0x07, 
        /* 0440 */    0xFE, 0xA9, 0xFB, 0x21, 0xC3, 0x57, 0x06, 0xCF, 
        /* 0448 */    0xD7, 0x04, 0x0F, 0x97, 0x3E, 0x84, 0xC0, 0xFF, 
        /* 0450 */    0xFF, 0xDF, 0x3A, 0x7C, 0x68, 0x08, 0xF5, 0xD4, 
        /* 0458 */    0xE1, 0x19, 0xBC, 0x5F, 0xF8, 0x04, 0x02, 0x4C, 
        /* 0460 */    0xC2, 0x5A, 0x81, 0xE8, 0xE1, 0x64, 0xE1, 0x75, 
        /* 0468 */    0xCA, 0xC6, 0x91, 0x8F, 0x0E, 0xD3, 0x22, 0x0F, 
        /* 0470 */    0x08, 0x3A, 0x1A, 0xF8, 0x20, 0x63, 0x02, 0xCB, 
        /* 0478 */    0x03, 0xD2, 0xA9, 0xC8, 0x10, 0x16, 0x46, 0x21, 
        /* 0480 */    0x59, 0x10, 0x1A, 0x8D, 0x87, 0x47, 0xE0, 0x28, 
        /* 0488 */    0x88, 0x47, 0xEE, 0x90, 0xA7, 0x59, 0x50, 0x1C, 
        /* 0490 */    0x1B, 0x7C, 0x36, 0x83, 0x33, 0xB4, 0x88, 0x27, 
        /* 0498 */    0xE3, 0x69, 0x78, 0xDC, 0xB8, 0x53, 0x07, 0xDC, 
        /* 04A0 */    0x71, 0xE0, 0x4F, 0x7C, 0xF8, 0x83, 0x12, 0x27, 
        /* 04A8 */    0xF0, 0x11, 0x16, 0x5C, 0x02, 0xCF, 0x05, 0xA0, 
        /* 04B0 */    0x00, 0xF2, 0x55, 0xC0, 0x07, 0xBE, 0xC7, 0x01, 
        /* 04B8 */    0x36, 0x85, 0x10, 0x61, 0xA2, 0x19, 0x1E, 0x73, 
        /* 04C0 */    0x9A, 0xF6, 0x91, 0xC9, 0xE3, 0xF1, 0xB0, 0xF8, 
        /* 04C8 */    0x20, 0x7D, 0x7C, 0x61, 0xD8, 0x4F, 0x27, 0x3E, 
        /* 04D0 */    0xA1, 0x1D, 0xE3, 0x7B, 0xC1, 0xF3, 0x16, 0x06, 
        /* 04D8 */    0xD6, 0xC3, 0xE6, 0xFF, 0x7F, 0x58, 0xA3, 0x85, 
        /* 04E0 */    0x3D, 0xDA, 0xC7, 0x07, 0x5F, 0x3D, 0x3C, 0x31, 
        /* 04E8 */    0xDF, 0xD8, 0x7C, 0xE8, 0x00, 0xCB, 0xF1, 0x09, 
        /* 04F0 */    0xFE, 0x00, 0x1F, 0x05, 0xC0, 0x72, 0xFE, 0x61, 
        /* 04F8 */    0x73, 0x78, 0x81, 0x38, 0xF3, 0xD7, 0x13, 0x9F, 
        /* 0500 */    0xEE, 0x30, 0x27, 0x3C, 0xAE, 0x6B, 0x04, 0x24, 
        /* 0508 */    0xE2, 0x19, 0x02, 0x35, 0x08, 0xC7, 0x59, 0xA4, 
        /* 0510 */    0x0E, 0xC3, 0xCC, 0xE7, 0x81, 0x43, 0xAA, 0x51, 
        /* 0518 */    0x04, 0xEF, 0x5B, 0x01, 0x8B, 0x70, 0x8C, 0x40, 
        /* 0520 */    0x89, 0xA7, 0x90, 0xF4, 0x63, 0x04, 0x4A, 0x2C, 
        /* 0528 */    0x1C, 0x05, 0xF1, 0x31, 0xC2, 0x07, 0x09, 0xDB, 
        /* 0530 */    0x38, 0x8C, 0xA1, 0x0F, 0x7E, 0xFC, 0x28, 0xC0, 
        /* 0538 */    0x4F, 0x11, 0xF0, 0x4F, 0x3C, 0xB8, 0xB1, 0xC2, 
        /* 0540 */    0x1D, 0x1C, 0x5B, 0xE1, 0x4B, 0xCF, 0xA1, 0x9D, 
        /* 0548 */    0xDD, 0x43, 0x42, 0x94, 0x98, 0x67, 0x10, 0x31, 
        /* 0550 */    0xC2, 0xEB, 0xA8, 0xD1, 0x3C, 0x46, 0x1C, 0xCE, 
        /* 0558 */    0x39, 0xFA, 0x52, 0xE4, 0x39, 0xC5, 0x7A, 0x54, 
        /* 0560 */    0xE2, 0x47, 0x0A, 0xB8, 0x47, 0x30, 0xFC, 0x91, 
        /* 0568 */    0x02, 0x3F, 0x93, 0xF3, 0xC0, 0xFC, 0xFF, 0xD5, 
        /* 0570 */    0x8D, 0x45, 0xF0, 0x3E, 0x82, 0xE1, 0x0F, 0x16, 
        /* 0578 */    0xC0, 0x43, 0xCA, 0x31, 0x40, 0x07, 0x0B, 0x70, 
        /* 0580 */    0x9D, 0x09, 0x7C, 0xB0, 0x00, 0xAE, 0xE7, 0x03, 
        /* 0588 */    0x9F, 0x0E, 0xC0, 0x7A, 0xF9, 0xE1, 0xF7, 0x03, 
        /* 0590 */    0x18, 0x27, 0x0C, 0x18, 0xE7, 0x03, 0xCC, 0x0D, 
        /* 0598 */    0xC3, 0x61, 0x96, 0xAC, 0x13, 0x06, 0x3F, 0xAE, 
        /* 05A0 */    0x39, 0xD2, 0x6A, 0x75, 0x7A, 0xC7, 0x13, 0x38, 
        /* 05A8 */    0x08, 0x98, 0x4E, 0x16, 0x1E, 0xB5, 0x23, 0x50, 
        /* 05B0 */    0x48, 0xDA, 0x01, 0x03, 0x25, 0xE6, 0x80, 0x41, 
        /* 05B8 */    0x41, 0x0C, 0xE8, 0xA4, 0x87, 0x47, 0xF4, 0xC1, 
        /* 05C0 */    0xCE, 0xA7, 0x06, 0x76, 0x91, 0xF5, 0xF5, 0xC2, 
        /* 05C8 */    0xF3, 0xF4, 0x94, 0x39, 0x9E, 0x8F, 0x21, 0x26, 
        /* 05D0 */    0xF8, 0xFF, 0x47, 0x7D, 0x31, 0x01, 0xCF, 0x8D, 
        /* 05D8 */    0x82, 0x9D, 0x5C, 0x31, 0x17, 0x37, 0x76, 0xB6, 
        /* 05E0 */    0x63, 0xA7, 0x02, 0xA3, 0x1C, 0xEE, 0x1B, 0x98, 
        /* 05E8 */    0xD5, 0x5C, 0x15, 0x50, 0x33, 0xC2, 0x10, 0x78, 
        /* 05F0 */    0xBC, 0x3E, 0x34, 0x82, 0x49, 0xDF, 0x85, 0x02, 
        /* 05F8 */    0xE4, 0xE8, 0x5C, 0xE6, 0xE8, 0x51, 0xE7, 0x28, 
        /* 0600 */    0x9F, 0xA4, 0xF8, 0xE8, 0x1D, 0x1A, 0x42, 0xA7, 
        /* 0608 */    0x15, 0xB8, 0x67, 0x29, 0x1F, 0xA1, 0x80, 0xEF, 
        /* 0610 */    0xC0, 0x7C, 0x29, 0xC0, 0x1D, 0x50, 0xC0, 0x70, 
        /* 0618 */    0x7D, 0xC0, 0x1F, 0xBC, 0x61, 0x9C, 0x51, 0xE0, 
        /* 0620 */    0xFE, 0xFF, 0xCF, 0x28, 0xE0, 0x0A, 0x7C, 0x96, 
        /* 0628 */    0x02, 0x1D, 0xA4, 0xCF, 0x28, 0xC0, 0x75, 0xA8, 
        /* 0630 */    0xB8, 0x33, 0x0A, 0x38, 0xCE, 0xB6, 0x98, 0x73, 
        /* 0638 */    0x14, 0x8B, 0x73, 0x2C, 0x41, 0x87, 0x7A, 0x39, 
        /* 0640 */    0xE8, 0x30, 0x8B, 0x27, 0x70, 0x94, 0x63, 0x09, 
        /* 0648 */    0x2A, 0x04, 0x85, 0x4E, 0x50, 0x3E, 0x49, 0xF0, 
        /* 0650 */    0x33, 0x1E, 0x07, 0x31, 0xA0, 0xB3, 0x9F, 0x24, 
        /* 0658 */    0xD0, 0x2A, 0x4E, 0x12, 0xC8, 0xB0, 0xE7, 0x12, 
        /* 0660 */    0x40, 0xC0, 0xFF, 0xFF, 0x5C, 0xC2, 0xCF, 0x89, 
        /* 0668 */    0x4F, 0x13, 0xE0, 0xBA, 0x11, 0xC3, 0x3F, 0x9F, 
        /* 0670 */    0x00, 0x8B, 0x23, 0x23, 0xE0, 0xEC, 0x20, 0xC8, 
        /* 0678 */    0x8F, 0x8C, 0xC0, 0xF7, 0x5C, 0x02, 0xBE, 0x61, 
        /* 0680 */    0x1B, 0xD6, 0xFF, 0xFF, 0x73, 0x09, 0xE0, 0xE3, 
        /* 0688 */    0x26, 0xCD, 0xCF, 0x25, 0x70, 0x87, 0xEE, 0x38, 
        /* 0690 */    0xA7, 0x2F, 0xC4, 0x15, 0xD6, 0xF7, 0x8C, 0xF8, 
        /* 0698 */    0x09, 0xC6, 0x38, 0x96, 0xA0, 0x02, 0x1C, 0xBE, 
        /* 06A0 */    0x00, 0x9A, 0xFC, 0xFF, 0x4F, 0x23, 0xF8, 0x73, 
        /* 06A8 */    0xB1, 0x47, 0xCF, 0x0F, 0x24, 0x3E, 0x64, 0x90, 
        /* 06B0 */    0xD1, 0xD3, 0xC8, 0x87, 0x2F, 0xE8, 0x11, 0x0F, 
        /* 06B8 */    0x23, 0x40, 0x7B, 0xA0, 0x0F, 0x5F, 0x60, 0xBC, 
        /* 06C0 */    0x3D, 0xF0, 0xE3, 0x26, 0xF0, 0x8A, 0x7D, 0x28, 
        /* 06C8 */    0x01, 0x1D, 0x2C, 0x3F, 0x94, 0x00, 0xCF, 0xD1, 
        /* 06D0 */    0xF3, 0xFF, 0xFF, 0xD9, 0x0B, 0x3C, 0x57, 0x09, 
        /* 06D8 */    0x0F, 0xDE, 0x80, 0xC7, 0xF4, 0x58, 0x60, 0x40, 
        /* 06E0 */    0x76, 0x2E, 0x61, 0xB2, 0xCF, 0x25, 0xE8, 0xF3, 
        /* 06E8 */    0x88, 0xAD, 0xDE, 0x8E, 0xC9, 0x49, 0x1D, 0x23, 
        /* 06F0 */    0xFC, 0x5C, 0x82, 0x92, 0x7C, 0x2E, 0x01, 0x68, 
        /* 06F8 */    0x73, 0xE8, 0x02, 0x4E, 0xFF, 0xFF, 0x43, 0x17, 
        /* 0700 */    0xE0, 0xF5, 0x1A, 0xE8, 0x03, 0x09, 0xB8, 0xEE, 
        /* 0708 */    0x09, 0x3E, 0x90, 0x00, 0xD7, 0xA3, 0x00, 0x78, 
        /* 0710 */    0x8E, 0x20, 0xF8, 0x23, 0xB3, 0x0F, 0xFC, 0xB8, 
        /* 0718 */    0x93, 0xBE, 0x4F, 0xD5, 0x71, 0x8D, 0x7F, 0xC4, 
        /* 0720 */    0x47, 0xD0, 0xF8, 0xE9, 0x8B, 0xDC, 0x0B, 0x7C, 
        /* 0728 */    0x2C, 0xD1, 0x81, 0x1F, 0x25, 0x98, 0x42, 0x72, 
        /* 0730 */    0x0F, 0x10, 0x28, 0x81, 0x70, 0xF4, 0xFF, 0x0F, 
        /* 0738 */    0xE2, 0x03, 0x84, 0xC3, 0x9F, 0x93, 0xA0, 0x5F, 
        /* 0740 */    0x2D, 0xF9, 0xF9, 0x01, 0x7F, 0x1D, 0x61, 0xA3, 
        /* 0748 */    0x64, 0xC7, 0x79, 0xDC, 0x28, 0xE1, 0x82, 0xBD, 
        /* 0750 */    0x3E, 0x18, 0xE2, 0x0E, 0x4F, 0x84, 0x9F, 0x6D, 
        /* 0758 */    0x31, 0xC7, 0x7C, 0xB8, 0x47, 0x85, 0x47, 0x25, 
        /* 0760 */    0x70, 0xCD, 0x1A, 0xD6, 0x61, 0x09, 0xF0, 0xE0, 
        /* 0768 */    0xE1, 0xB0, 0x04, 0x68, 0xF8, 0xFF, 0x9F, 0x0B, 
        /* 0770 */    0xF0, 0xB3, 0xE7, 0x83, 0x38, 0x11, 0x0F, 0x1F, 
        /* 0778 */    0x03, 0x74, 0x2C, 0x6F, 0x07, 0x0C, 0x52, 0x36, 
        /* 0780 */    0x7D, 0x6A, 0x34, 0x6A, 0xD5, 0xA0, 0x4C, 0x8D, 
        /* 0788 */    0x32, 0x0D, 0x6A, 0xF5, 0xA9, 0xD4, 0x98, 0x31, 
        /* 0790 */    0x43, 0x47, 0x0A, 0xAF, 0x56, 0xC3, 0x75, 0xA0, 
        /* 0798 */    0x97, 0x83, 0x40, 0x1C, 0x6C, 0xCD, 0x02, 0x71, 
        /* 07A0 */    0xF0, 0xD5, 0x08, 0xC4, 0x32, 0x56, 0x25, 0x10, 
        /* 07A8 */    0x4B, 0x78, 0x49, 0x08, 0xC4, 0x22, 0xDF, 0x02, 
        /* 07B0 */    0x02, 0xB1, 0xE8, 0xA7, 0x92, 0x40, 0x2C, 0xF7, 
        /* 07B8 */    0x31, 0x2C, 0x10, 0x0B, 0xF3, 0x02, 0xC2, 0x62, 
        /* 07C0 */    0x81, 0x50, 0x61, 0x66, 0x8E, 0x39, 0x4C, 0x26, 
        /* 07C8 */    0x88, 0x80, 0x1C, 0xCE, 0x0D, 0x10, 0x8B, 0x0A, 
        /* 07D0 */    0x22, 0x20, 0x2B, 0xD5, 0x03, 0xC4, 0x64, 0x83, 
        /* 07D8 */    0x08, 0xC8, 0xE2, 0xFD, 0x00, 0xB1, 0x28, 0x20, 
        /* 07E0 */    0x02, 0x72, 0xEE, 0x75, 0x09, 0xC8, 0x22, 0x14, 
        /* 07E8 */    0x01, 0x31, 0x71, 0x8E, 0x80, 0x98, 0x54, 0x10, 
        /* 07F0 */    0x01, 0x39, 0x81, 0x25, 0x20, 0x16, 0x07, 0x44, 
        /* 07F8 */    0x40, 0x0E, 0xA5, 0x09, 0x88, 0x45, 0x04, 0x11, 
        /* 0800 */    0x90, 0xF5, 0x98, 0x02, 0x62, 0xE2, 0x40, 0x34, 
        /* 0808 */    0x3C, 0xA2, 0x0A, 0x88, 0x49, 0x06, 0x11, 0x90, 
        /* 0810 */    0x83, 0xBC, 0x10, 0x04, 0xE4, 0x58, 0x20, 0x02, 
        /* 0818 */    0xF2, 0xFF, 0x1F
    })
    Name (_S0, Package (0x04)
    {
        Zero, 
        Zero, 
        Zero, 
        Zero
    })
    If (SS1)
    {
        Name (_S1, Package (0x04)
        {
            One, 
            Zero, 
            Zero, 
            Zero
        })
    }

    If (SS3)
    {
        Name (_S3, Package (0x04)
        {
            0x03, 
            Zero, 
            Zero, 
            Zero
        })
    }

    If (SS4)
    {
        Name (_S4, Package (0x04)
        {
            0x04, 
            Zero, 
            Zero, 
            Zero
        })
    }

    Name (_S5, Package (0x04)
    {
        0x05, 
        Zero, 
        Zero, 
        Zero
    })
    Method (PTS, 1, NotSerialized)
    {
        If (Arg0)
        {
            \_SB.PCI0.SBRG.SIOS (Arg0)
            NPTS (Arg0)
            NB2S (Arg0)
            SPTS (Arg0)
        }
    }

    Method (WAK, 1, NotSerialized)
    {
        \_SB.PCI0.SBRG.SIOW (Arg0)
        NWAK (Arg0)
        NB2W (Arg0)
        SWAK (Arg0)
        W2KW (Arg0)
    }
}

